The useReducer hook was one React hook that every time I had to use it, I wasn't sure of exactly what was going on and if I needed it. const [state, dispatch] = useReducer(reducer, initialState); // you can also pass an optional init function as the ...
Markdown supported · ⌘↵ to post
This is Awesome. I have bookmarked it to read later.
Iheanyi Ihekweaba
Software Developer
Nice article Jerry. Thanks alot!