Earlier quoted context omitted.
Yes pleaseeeee tell me I can take advantage of just the View layer and use my own Model and Controller setup. With Titanium views are 'just' JS objects, so I can use Spine, Backbone, and other libraries for business and data logic.
Um, you can do that in React just fine. It's just you don't really need Backbone with React because plain object/array models are more convenient, and controllers aren't needed because there's no need to “orchestrate changes” between view and model. Check out Flux as an example of architecture (not a framework) that works really well with React.
Use ReactJS to Build Native Apps
171–175 of 175 posts
Re: Use ReactJS to Build Native Apps
#172Extremely excited about this! I tend to prefer native interfaces over web interfaces, but found it really bothersome to have to work with native toolkits. There's stuff like tint2 ( https://github.com/trueinteractions/tint2 ), but it's still not stable enough, IMO. This is HUGE. I'm extremely excited to try this out. Being able to write the interface with JS/JSX, and then switch between JS and native code as you see…
Re: Use ReactJS to Build Native Apps
#173Re: Use ReactJS to Build Native Apps
#174Re: Use ReactJS to Build Native Apps
#175Earlier quoted context omitted.
Please, please have constraint-based layout support- I know you want to have it, given your work on react-gss :-)
What would be awesome and truly useful is real constraints, like in CAD software. I should be able to express every width, height, x, and y value as a variable, or as a function of other variables. So I call the device height "A", the width "B", and express the rest of the UI in terms of those variables. Then at runtime "A" and "B" are defined, and the rest of the layout magically does its thing. What Apple calls "co…