News for hackers. Stuff that matters.
Re:React Makes You Sad? by doughj3 on Monday February 29, 2016 @02:11PM (#11197458)
> Even better, I can now create both iOS apps and Android apps at the same time

Are you referring to native apps, or do you mean by making a Web app with React you don't need to make native apps?

Re:React Makes You Sad? by squeaky-clean on Monday February 29, 2016 @02:19PM (#11197546)
React Native [0]. Your view-specific code still has to be done per-platform, but your core logic can be shared, and all of it is written with Javascript using React as the framework. The JS creates and controls native elements, with the native parts mostly abstracted away.

[0] https://facebook.github.io/react-native/

Re:React Makes You Sad? by marcusr on Monday February 29, 2016 @02:34PM (#11197688)
Exactly this, made even simpler by the naming scheme that lets you have iOS and Android versions of the same component.
Re:React Makes You Sad? by mbrock on Monday February 29, 2016 @04:18PM (#11198603)
You can write much view code in a way that abstracts over the DOM/Native platform, too, using standard abstraction techniques.
Re:React Makes You Sad? by marcusr on Monday February 29, 2016 @02:32PM (#11197672)
I'm referring to native apps on iOS and Android as the code commonality is huge, with just a small number of platform specific components. The biggest surprise though was how much I could port out for a web version (and Electron based Windows and Mac applications)
Re:React Makes You Sad? by mst on Monday February 29, 2016 @02:19PM (#11197548)
His mention of the flex layout model implies React Native