Could U guys help me? I really appreciate it

Tell us what’s happening:
Describe your issue in detail here.

  **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 yourVariableName = yourMethodName();

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Create a Redux Store

Link to the challenge:

Hi @tungduong974 !

I am not sure where this code came from

but I would reset the lesson.

Here are the first part of the instructions
Declare a store variable

Here are the second part of the instructions
and assign it to the createStore() method,

You will assign Redux.createStore() to the store variable.

Here are the last part of the instructions.
passing in the reducer as an argument.

Hopefully that helps!


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.