News for hackers. Stuff that matters.
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.