I needed a quick refresher on Redux and came across Learn Redux.
It was great, but sorely outdated. This is an updated, modernized version of the ReactJS application you build as you progress through the video series. It doesn't look like the repo is looking at PRs, so I decided to provide an updated version that will hopefully help others looking to complete the series, but have a baseline to work off of when using current versions of React and Redux.
Each branch will contain a working version as of the end of a given video segment. The initial master commit is the first working version. If you want to see what was changed along the way, refer to each of the branches.
Each link takes you to a branch that matches the video chapter in the series. Gaps mean I rolled up related changes from a few videos into one branch.
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 9
- Chapter 10
- Chapter 12
- Chapter 13
- Chapter 14
- Chapter 18
- Chapter 20
This updates to:
- React 16.6
- React Router 4
- Webpack 4
- Redux 5
- Babel 7
Along the way, we will be removing dependencies if they are not needed. For example, the initial commit removes some presets that are now rolled into preset-env.
First npm install
to grab all the necessary dependencies.
Then run npm start
and open localhost:7770 in your browser.
Run npm build
to create a distro folder and a bundle.js file.
- Update to use react-transition-group
- Actually add tests (the default code base uses expect, I think this should use enzyme)
- Get the production build working
- Linting
- Remove more dependencies