Skip to content

iamdylanngo/rn-redux-cli

Repository files navigation

React Native Redux is tools help us create base project React Native, tools automatically add dependencies of Redux and add structure folder

Fast-growing create applications React Native

Supported OperaSystem

  • Window
  • MacOSX
  • Linux

Make sure your computer has a nodejs installed

Install nodejs in your computer click here

Install RN-Redux

npm i -g rn-redux

Guide to rn-redux

Now we will use tools rn-redux, to create a React Native project quickly

rn-redux init AwesomeApp
rn-redux init AwesomeApp --version 0.55.3

Option 1: Select a template available

Templates 1:

Templates 1

Templates 2:

Templates 2

Option 2: Select a custom template

1, templates in local workstation

2, templates in github

Example base project:

Example base project

package.json file has format

{
  "dependencies": {
    "react-redux": "^5.0.7",
    "redux": "^4.0.0"
  },
  "devDependencies": {
    "vnrm": "0.0.11"
  }
}

Example base project

Use for custom templates with GitHub:

Redux base: https://github.com/jundat95/redux-templates.git

Redux-Saga base: https://github.com/jundat95/redux-saga-templates.git

Tutorial:

Video 1: https://www.youtube.com/watch?v=6MiX68YHU_E

Video 2: https://www.youtube.com/watch?v=WbVYEDsca4g

All dependencies will install to new project

Thanks, click on the star button above to support me

Repository React Native Redux Cli click here