illustration for React Context for State Management
pro

React Context for State Management

Instructor

Dave Ceddia

35m closed-captioning
·
12 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.6
1582
people completed
Published 6 years ago
|
Updated 4 years ago

In many cases, teams reach for Redux as the de facto choice for state management. But sometimes, Redux is overkill. In those cases, the React Context API might suit your needs perfectly.

In this course, we’ll build a simple email client using the React Context API to pass data throughout the app. You’ll learn how to create a context, how to pass data deeply through an app without manually passing props all over the place, and how to group related data and logic using simple wrapper components. We’ll also cover practical applications like using Context to display and manage notifications, how to maximize performance with Context, and how to test the components that use it to ensure your app is working properly.

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    How will you use what you learned from this course?

    planing to use context for themes

    Vijay
    4 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Very precise and covers pretty much all aspects from development, testing and optimization techniques. Awesome tutorial.

    Saumyajit
    4 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this course a 7 for you?

    Great course! I really liked the combination of context, testing and optimizations. I wish I have watched this earlier!!

    The only thing I could change is using more hooks. I have coworkers that are learning about react and they have only used hooks, so they may feel a little lost here.

    Other than that I would still recommend this course.

    Javier Gutierrez
    5 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    How will you use what you learned from this course?

    Good to learn about the more effective render pattern

    Hai Jun Wang
    5 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this course a 7 for you?

    I would have liked to see using hooks more as it's more current API when writing React components, instead of class based components.

    Otherwise, the content is really dense and I had to rewatch/replay videos couple of times, which I have no problem with.

    Great content, otherwise.

    Bogdan Grbatinic
    5 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Short, crisp to the point examples. Didn't bore with implementation of the boilerplate.

    Sridhar Raj
    5 years ago