React Native Study Notes 2, reactnative
1: How to Create a react native Project
First, go to the specified folder and execute react-native init ReactNativeProject on the terminal. ReactNativeProject is the project name;
2: How to Use debugging
You can first install the Chrome plug-in React Developer Tools and then press command + D on the virtual machine during running. You can use Stop Remote JS Debugging to enter the Debugging page, then press command + alt + J to go to the detailed debugging page;
3: view related interfaces of React Native components
In addition to viewing the relevant information on the React Native Chinese site, you can also directly view the source code JS file. The JS file not only has interfaces and instructions, but also has instance code;
Some community-maintained components can be found in the following section, including related IOS and Android
4: WebStorm provides the React Native code smart reminder function
Plug-in address: https://github.com/virtoolswebplayer/ReactNative-LiveTemplate
5: ECMAScript 6
6: React/React Native ES5 ES6 statement comparison table