Why React Native?
Meta (formerly Facebook) created React Native to build its mobile applications. It was started as a hackathon project in the summer of 2013 inside Facebook and open sourced for everyone in 2015. The motivation to do so originated from the fact that React for the web was so successful. So, if React is such a good tool for UI development, and you need a native application, then why fight it? Just make React work with native mobile OS UI elements! Therefore, in the same year, Facebook divided React into two independent libraries, React
and ReactDOM
, and since then, React had to work only with interfaces and not care about where these elements will be rendered.
In this chapter, you’ll learn about the motivations for using React Native to build native mobile web applications. Here are the topics that we’ll cover in this chapter:
- What is React Native?
- React and JSX are familiar
- The mobile browser experiences
- Android and iOS...