Can someone please either help me out here or tell me how to report a bug?
I completely understand what the lesson is requesting, and I feel that my code should be correct. If there’s a bug in my code, I’m not seeing it. I see no reason why the Redux object would be undefined (as it should be preloaded in the background for the challenge), and thus I’m inclined to believe there’s an error in the version being loaded or something.
The error I’m getting is "
Uncaught ReferenceError: Redux is not defined
"
and my code is this:
const reducer = (state = 5) => {
return state;
}
// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here:
const store = Redux.createStore(reducer);
console.log(Redux) also returns the same error. I actually looked ahead and saw the same error in the next challenge as well.
Please help!!
Browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
.
Challenge:
Create a Redux Store
Link to the challenge:
https://www.freecodecamp.org/learn/front-end-libraries/redux/create-a-redux-store