« All categories

Blog posts about "useReducer"

What is a reducer?

Let me explain how a reducer converts an array to any type of value. Oh, and what the useReducer hook has got to do with it.

Mar 25, 2021 · 6 minute read

Learn React basics by creating a simple calculation game (part 3)

We improve the simple calculation game by using the useReducer hook.

Jan 7, 2021 · 10 minute read