- You need to add a line that will call this new fetchData method from the componentDidMount method.
- Build a native mobile app with React Native
- When the app next renders, it uses this new colour.
- Create a new folder called ‘App’ in your project root.
- Lines 8-11 include the React requires for this component of the app
Read the full article, click here.
Native mobile app development is a difficult environment. There are different operating systems, a vast array of handset manufacturers and a huge range of screen resolutions to build for. Thankfully, Facebook has released React Native – a framework designed to extend the React approach to mobile application development.
Build a native mobile app with React Native