We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165e911 commit d3b76a7Copy full SHA for d3b76a7
README.md
@@ -34,7 +34,7 @@ function reducer(state, action) {
34
}
35
36
37
-const [state, dispatch] = (
+const [state, dispatch] = useReducer(
38
process.env.NODE_ENV === 'development' ? logger(reducer) : reducer,
39
initialState
40
);
0 commit comments