News for hackers. Stuff that matters.
Re:React Native is now open source by dcre on Thursday March 26, 2015 @06:18PM (#9273529)
With React Native, instead of writing HTML/CSS and running it on a crappy browser embedded in an app, you write code that looks like HTML/CSS (it's actually JSX)[1][2] and it is translated to native code.

[1] https://facebook.github.io/react/docs/displaying-data.html

[2] https://facebook.github.io/react/docs/jsx-in-depth.html

Re:React Native is now open source by oyvindkinsey on Thursday March 26, 2015 @09:12PM (#9274238)
It's not translated. The JS runs to create a declarative description of what the ui should look like, which is reduced to a diff representing the changes that needs to be made to the native ui. These change commands are then marshalled to native code which simply implements the changes (add this thing, move this thing, remove this thing).
Re:React Native is now open source by dcre on Friday March 27, 2015 @10:12AM (#9276354)
Oh, right. Thank you.