React Native
Homepage : https://facebook.github.io/react-native/
Requirements:
- Node.js
- Watchman
- XCode 7 or later (for iOS project)
Android Setup:
- http://facebook.github.io/react-native/docs/android-setup.html
- http://developer.android.com/tools/devices/emulator.html
- Install android-sdk (OSX)
- install brew
brew install android-sdk
React Native allow native level performance while making it possible to develop apps in a tight realtime preview loop using JavaScript.
http://facebook.github.io/react/docs/why-react.html
https://signalvnoise.com/posts/3124-give-it-five-minutes
The purpose of render method in react class is to always return some code describing how our react component look like.
JSX is one of the many supporting technology around react. Think of it as a dialect of javascript that can be compiled directly into javascript code.
https://facebook.github.io/react/jsx-compiler.html
difference between justifyContent and alignItems
flexDirection | justifyContent | alignItems |
---|---|---|
column (default) | moves stuffs width-wise | moves stuffs height-wise |
row | moves stuffs height-wise | moves stuffs width-wise |