chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

React Native Series – 0x01 Start a Simple Project


Create a new project

Start the project

Note that you can also create a project with a specific react native version:

This is sometimes useful when you are targeting a specific version.

Then you will see:

Some build tips:

1, To run the project on Android, you need the adb installed, otherwise the related updates on index.ios.js is not reflected.

2, If the terminal is closed, you can restart it by

3, For Android, cmd+ m throw out Android Debug Menu

4, When you git clone a project from online:

5, For Android, running app on real device. Sometimes after the index.anroid.js is updated, the new content was not shown on the real device: