This article is a simple step-by-step of how to start a project with React Native and Redux.
Source Code (Branchinit
)
Create-react-native-app
Following the path of its excellent web brother, I recommend the use of the create-react-native-app
to bootstrap your new project. This one configures all the build tools
necessary to create a React Native app, and gives you some excellent Expo integrations.
First thing to do is to install CLI tool with
npm install -g create-react-native-app
Now, run the following command with the name you want to give to your project
react-native init my_awesome_app
Go forward to the new folder, and run
react-native run-android