Introducing Redux with React Hooks

Jamund Ferguson
InstructorJamund Ferguson
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 3 years ago

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.

egghead
egghead
~ just now

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today