/redux-sample

redux sample with reactjs

Primary LanguageJavaScript

Redux sample with Reactjs

Redux

  • Action
  • Reducers
  • createStore
  • Dispatch
  • Connect
  • mapStateToProps

Setup

  • cd myapp
  • yarn install or npm install. (We prefer to using yarn)

Development

  • cd myapp
  • yarn start. (Now you can access application at http://localhost:3000)
  • PORT=3001 yarn start (If you want to set another PORT for application)