React Native - TwoGears/hakomo-guides GitHub Wiki
Installation
Do not do the steps here, but read it to understand: https://www.christianengvall.se/install-react-native/
Step 1: Node
Instead of installing Node from Brew, install it by following this guide NVM-NPM-NODE
Step 2: Watchman
We will need brew. Type brew
to check if you have it. If you don't - install it
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
to update it
brew install watchman
Step 3: React Native CLI
If you previously installed a global react-native-cli package, please remove it as it may cause unexpected issues. rn website DO NOT DO This is the toolkit for react native. Install globally: DO NOT DO
npm install -g react-native-cli
Step 4: XCODE
https://itunes.apple.com/us/app/xcode/id497799835?mt=12
Once it is installed:
- open xcode preferences (CMD+,)
- Location tab
- Command line tools: select Xcode.... instead of nothing
Step 5: Download the project that contains all setups
...
Don't forget to npm i
in the folder
Step 6: Visual Studio Code
set up your vscode for development: VSCode + ESLint
React native Resources
- Documentation: https://facebook.github.io/react-native/docs/getting-started
- React Navigation: https://reactnavigation.org/
- Native Base: https://nativebase.io/