MENU

Fun & Interesting

Learn React Hooks: useReducer - Simply Explained!

Cosden Solutions 88,016 2 years ago
Video Not Working? Fix It Now

🚀 Project React → https://cosden.solutions/project-react 📥 Import React (Newsletter) → https://cosden.solutions/newsletter?s=ytd Join The Discord! → https://discord.cosdensolutions.io Source Code → https://github.com/cosdensolutions/code/tree/master/videos/long/learn-react-hooks-useReducer 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!

Comment