Introducing Redux with React Hooks

Jamund Ferguson
InstructorJamund Ferguson
Share this video with your friends

Social Share Links

Send Tweet

When react hooks were released in the beginning of 2019 it looked like it might be the end of the line for the popular state management library Redux. React was getting its own useReducer function and had also standardized the context API in a way that seemed to negate the need for an alternative library. As hooks became more widely adopted, redux quickly came on board and released its own set of hooks including useSelector and useDispatch that removed a significant amount of boilerplate required to use the library. Further innovation with the Redux Toolkit has spurred continued interest in using redux to solve complex application state problems.

In this lesson I'll introduce this course and hopefully get you excited to learn more about how to integrate redux into your react hooks application.

Jamund Ferguson: [0:00] Hi, my name is Jamund Ferguson. I'm really looking forward to teaching you this course on React Hooks and Redux. I've been using Redux since it very first came out, both with the big companies like Amazon and PayPal and its small startups. Like many other developers, eventually, I became frustrated with how much boilerplate and indirection ended up in our Redux applications. It was awful.

[0:22] After React Hooks came out, I thought about leaving Redux behind completely and using either other libraries, like MobX or the built-in useReducer API with React Context, but the new version of Redux which includes support for Hooks has completely won me back over.

[0:39] For anyone who has used Redux in the past who maybe found it too difficult to work with and too complicated, I don't think you'll feel that way after trying it with Hooks. If you've been hesitant to check out Redux for these reasons, try using it with Hooks. It's a dramatically improved experience. I hope you enjoy this course. Please let me know how you feel about it.