useContext

A React-ish hook that returns the current value for that context.

See also

(https://reactjs.org/docs/hooks-reference.html#usecontext)