3 ms·
This is massive. Some more details: "React Native: everything native, controlled by async batched JS put in a background thread. Learn once, write everywhere.
by colinramsay 12y ago
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 https://twitter.com/AnnaPawlicka/status/560505089207463936
[2] https://twitter.com/floydophone/status/560504204343521280 https://twitter.com/floydophone/status/560504204343521280
[3] https://twitter.com/voodootikigod/status/560503641920921600 https://twitter.com/voodootikigod/status/560503641920921600
- threepointone 12y agoahem. my bet - https://github.com/facebook/css-layout https://github.com/facebook/css-layout cannot wait for more details.
- colinramsay 12y ago"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...
- kirillklimuk 12y agoSeems 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 https://github.com/facebook/css-layout/graphs/contributors).
- bjr- 12y agorelevant talk by @vjeux: https://speakerdeck.com/vjeux/react-css-in-js https://speakerdeck.com/vjeux/react-css-in-js
- bendyBus 12y ago"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?
- waltfy 12y agoReact 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.