Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what does the useReducer do in react

const [state, dispatch] = useReducer(reducer, initialState);
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #useReducer #react
ADD COMMENT
Topic
Name
7+5 =