Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series







yours forever

Become a Pro and unlock everything




per month

Adding Redux To Our React App


Become a pro to download code and videos



8 months ago

Video #6 is not loading :-(


about 2 years ago

@Marcelo This is exactly what I needed to get running. Thanks!


almost 3 years ago

@Campbell I had the same issue but was able to fix it by updating the dependencies as Marcelo recommended. When you are done your dependencies should look something like, { "name": "rrfe", "version": "0.1.0", "private": true, "dependencies": { "react": "^16.9.0", "react-dom": "^16.9.0", "react-overdrive": "0.0.10", "react-redux": "^5.0.6", "react-router-dom": "^4.2.2", "react-scripts": "1.0.17", "redux": "^3.7.2", "redux-devtools-extension": "^2.13.2", "styled-components": "^4.3.2" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" } }


almost 3 years ago

I can't get this project to run. I installed the updated styled-components package and it still has an error with var ThemeContext = createContext(); is not a function. idk...


almost 3 years ago [edited]

I installed previous version and it works fine for me. yarn add styled-components@4.3.2


almost 3 years ago

This code is not working out of the box, it's missing "styled-components" and after adding that package latest version is not compatible with the version of react currently in this app, I manage to fix it by updating my package.json, it loos like this: "dependencies": { "react": "^16.9.0", "react-dom": "^16.9.0", "react-overdrive": "0.0.10", "react-redux": "^5.0.6", "react-router-dom": "^4.2.2", "react-scripts": "1.0.17", "redux": "^3.7.2", "redux-devtools-extension": "^2.13.2", "styled-components": "^4.3.2" }


almost 3 years ago

If any tried the code from this link above, add the package for styled components and it should work

Want to join the conversation?

Become a Pro member today!