Facebook captured the hearts of the open-source community this week by announcing the release of the iOS version of React Native on GitHub during its F8 developer conference.
Facebook software developer Tom Occhino talked more about React Native in a blog post, explaining that developers still have to write two sets of code—Web and mobile—for React.js and React Native. But developers will now be able to apply the same principles to iOS and soon Android development.
“React forces us to break our applications down into discrete components, each representing a single view,” Occhino wrote. “These components make it easier to iterate on our products, since we don’t need to keep the entire system in our head in order to make changes to one part of it. More important, though, React wraps the DOM’s mutative, imperative API with a declarative one, which raises the level of abstraction and simplifies the programming model.”
React Native combines aspects of the React.js Web framework with the Rebound Java library for dynamic spring animations and the Flux application architecture within the open-source iOS framework. React Native offers application features and capabilities such as integrating native iOS components, asynchronous execution, touch handling, polyfills and extensibility.
More details are available on the React Native website.