One minute
Getting started with React Native
👴 Careful You’re reading an old article ! Some links might be broken and content may be outdated
It’s pretty impressive how we can simply set up a development environment without XCode using Expo.
Make sure you’re using the right Node and NPM versions and double check that there are no missing packages while doing the npm install.
I had to run these commands before running npm start on my app (created through create-react-native-app ):
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
While you edit your project files (using any IDEA like Atom or Sublime Text), Expo provides live reloading so that you can directly test your application very quickly.
I made a very simple app that only embed a webview. IT can be found here: https://github.com/leiluspocus/react-test
Resources
- Basic tutorial to get started with React Native: https://facebook.github.io/react-native/docs/tutorial.html
- Packages explorer for React: https://js.coach/react-native/