Tell us what’s happening:
Why doesn’t the instructions teach me that there is something called redux.createStore() ?
Why do i have to open up the solution to know this ? I think this should be taught in the instructions itself.
For someone who has never used redux, why am i supposed to come up with this on my own ?
Your code so far
const reducer = (state = 5) => {
return state;
}
// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here:
const store = createStore(reducer)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
.
Link to the challenge: