React Router Redux demo app

1. Environment set up

npm create-react-app react-router-redux-demo
cd react-router-redux-demo
npm install --save react-router-dom
npm install --save redux
npm install --save react-redux
npm install @material-ui/core
  • Store
  • Actions
{  
type: ADD_STUDENT_REQUEST,
student: {
"firstName":"Rafael",
"lastName":"Nadal",
"country":"Spain",
"course":"React"
}
}
  • Reducers

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store