Show HN: TouchstoneJS, a React powered UI framework for beautiful mobile apps
touchstonejs.io
touchstonejs.io
this is really AWESOME and finally shows what is possible with the power of nowadays browser rendering engines paired with a good JS lib (React is my favorite js lib).
I like very much the butter smooth transitions on any phone and it's nice that you spent so much attention in getting this thing so responsive, well done man.
When will this thing be live, having more documentation and can I play already around with the stuff on Github?
Thanks!
Jed, is on Github the latest version of Touchstone?
We will have more docs + examples up in the coming weeks, aside from that we're currently using it in three commercial apps at Thinkmill so what's there is pretty solid.
The projects we're building with it include a Bitcoin wallet (built on BitcoinJS), a cinema voucher scanning app and another I unfortunately can't talk about yet. It's holding up really well across the different use cases and UI designs.
It's great to be able to just look at what is there and see where the strengths and weaknesses are (at least with some face value).
Great work on this, I can't wait to see how it matures.
I think the biggest differentiating factor between it and TouchstoneJS will be the platforms they're built on.
Ionic's heavily invested in Angular, which is great, but we're big fans of React and wanted to create a new mobile framework that builds on that.
My only quibble: "beautiful mobile apps" apparently means "mobile apps that look like iOS 8". I wonder how difficult it would be to adjust the design to better fit in with other OSes.
Down the track it will including a theme capability and a more Android-friendly UI style, I'll add something to the roadmap to make this clearer.
I think react is a wonderful technology. I also think that there's a real gap for a lightweight mobile-only framework like this, and this work is a great start.
We've had a great experience building with React, and browserify - it keeps everything organised and modular, and is pretty much perfect for mobile app architecture.
Other than that, aside from needing some sort of compilation step for the JSX (our demo project uses browserify and gulp) the rest is up to you.
I haven't used Om or Reagent yet but I don't think there'd be anything preventing them from working with Touchstone.
Edit: ok I found the createApp mixin and I can see you're doing a lot of stuff in there to support the touchstone app... It would be sweet if you could delegate some of that heavy lifting and integrate with react-router at the same time...
The paradigm of links and parameters falls short, and eventually TouchstoneJS will exert a lot more control over the transitions. Right now we're using CSSTransitionGroup, but I expect we'll move to a JS-based transition method (possibly with tween-state) so you can do controlled or partial transitions (required for things like drawers or swipe-from-left to go back)
We have spent a lot of time looking at react-router though, and are using it on other projects, and are / will be borrowing quite a few things :)
https://github.com/Thinkmill/touchstone-starter/tree/master/...
You should be able to piece together the UI parts you need. The starter also happens to include the build process run browserify and create a phonegap build, that's all.
(disclaimer - I might be totally wrong)
If you could open an issue on the GitHub project (http://github.com/JedWatson/touchstonejs) with details of your OS version and browser I'd really appreciate it!
There's a Cordova project that builds for iOS in the sample project if you're interested.