Getting started with React Native

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/

 

Getting started with Magento
Permission issue with npm while installing react-devtools

Leave a Reply

Your email address will not be published / Required fields are marked *