Created
November 30, 2018 03:39
-
-
Save Jahans3/81220bef8d7e500b4020a4471d991a06 to your computer and use it in GitHub Desktop.
Passing our reducers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function Root () { | |
return ( | |
<StateProvider state={initialState} reducers={[countReducer]}> | |
<MyApp /> | |
</StateProvider> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment