666 B
666 B
title |
---|
Create a Redux Store |
Create a Redux Store
There are three parts to this challenge.
- Declare a
store
variable. - Assign it to the
createStore()
method. - Pass in the
reducer
as an argument.
Step 1. Declare a variable.
const yourVariableName;
Step 2. Assign your variable to a method.
const yourVariableName = yourMethodName();
Hint: Keep in mind that the createStore()
method is available from the Redux object. For example: Redux.createStore()
Step 3. Pass in an argument to your method.
const yourVariableName = yourMethodName(yourArgumentName);
Good luck!