News for hackers. Stuff that matters.
Re:Use ReactJS to Build Native Apps by colinramsay on Wednesday January 28, 2015 @01:56PM (#8961749)
This is massive. Some more details:

"React Native: everything native, controlled by async batched JS put in a background thread. Learn once, write everywhere. #reactjsconf" [1]

"Fb groups app in iOS App Store is powered by it #reactjsconf" [2]

"iOS and Android native using all the same ideas as React, all the power of native." [3]

React has been gaining traction as I'm sure we're all aware, but this is next-level stuff. I'm particularly interested in how styling's going to work; if this is really translating into true native stuff then there must be a CSS-analogue?

[1] https://twitter.com/AnnaPawlicka/status/560505089207463936

[2] https://twitter.com/floydophone/status/560504204343521280

[3] https://twitter.com/voodootikigod/status/560503641920921600

Re:Use ReactJS to Build Native Apps by threepointone on Wednesday January 28, 2015 @01:58PM (#8961776)
ahem. my bet - https://github.com/facebook/css-layout

cannot wait for more details.

Re:Use ReactJS to Build Native Apps by kirillklimuk on Wednesday January 28, 2015 @02:38PM (#8962000)
Seems like you won the pot. @vjeux will be giving a bigger talk about it tomorrow and he's the biggest contributor to the css project (https://github.com/facebook/css-layout/graphs/contributors).
Re:Use ReactJS to Build Native Apps by bjr- on Wednesday January 28, 2015 @03:44PM (#8962447)
Re:Use ReactJS to Build Native Apps by colinramsay on Wednesday January 28, 2015 @02:00PM (#8961789)
"This project implements a subset of CSS including flexbox and the box model using pure JavaScript"

So all the good bits of CSS without any of the bad - including browser compatibility problems?

Doesn't explain stuff like fonts & colours though...

Re:Use ReactJS to Build Native Apps by bendyBus on Wednesday January 28, 2015 @02:35PM (#8961986)
"learn once, write everywhere" - I like the sound of that! But I guess in the spirit of React this is still only the "V" in MVC right? I don't suppose they are planning to broaden the scope to anything other than rendering views. So if you want to use this to build native apps, I guess you are going to have to integrate another cross-platform solution for storage/sensor APIs?
Re:Use ReactJS to Build Native Apps by waltfy on Wednesday January 28, 2015 @02:53PM (#8962123)
React is much more than just the V in MVC. It sells itself in that way for presenting the ability of being just exactly that. Thus, it can quite easily coexist with other frameworks. I actually think the established and well known selling points of React, like the Virtual DOM and "V in MVC" are just very nice side effects. The most important thing is the concepts and principles adopted from FRP, which in my opinion makes React a very powerful tool for JavaScript in general, a local optima of what can be done with JS right now.