This video is available to students only

Module 6 Summary

This lesson summarizes our addition of the Context API and useContext Hooks in Module 6.0.

Module 6 summary#

This lesson is a summary of what we've covered in Module 6.0.

In this module, we learned:

Where the Context API can be useful to avoid passing props#

When props are passed more than a few levels through components, it's probably a good idea to think about employing the context API instead to avoid unnecessary complexity in components that don't need those props themselves.

We learned not only how to set up a context object Provider but also how to add useContext Hooks to multiple components consuming the values from that Provider.

Start a new discussion. All notification go to the author.