useContext
Edit this pageUsed to grab context within a context provider scope to allow for deep passing of props without having to pass them through each Component function.
Recommended usage
It is often a good idea to wrap useContext
in a function like so:
See the API reference of createContext for the explanation of what this solves.