useContext

Learn how to use Hooks to pass data throughout your app without manually passing props down the tree.

We'll cover the following...

Why use useContext()?

This Hook only expects one parameter: a context type, which we create by calling React.createContext(). It will then return the value of the next highest context provider in ...