Learn React Hooks: useReducer - Simply Explained!

Опубликовано: 22 Июнь 2023
на канале: Cosden Solutions
60,025
2.7k

🚀 Project React → https://cosden.solutions/project-react
📥 Import React (Newsletter) → https://cosden.solutions/newsletter?s...

Join The Discord! → https://discord.cosdensolutions.io
Source Code → https://github.com/cosdensolutions/co...

In this video we will learn about React hooks, starting with useReducer. This powerful React hook will allow you to enhance how you manage and mutate state in your React application. You will learn the difference between useReducer and useState, how to create your reducer function, how to define your actions and return a mutated copy of the state in your application.

In this new React world, hooks are here to stay, so it's best to learn them! In this tutorial I demonstrate the useReducer React hook, and I explain it very simply and in a way that is easy to understand. Enjoy!