To access the context value outside of the render function, you can create a separate custom hook.
Question 10 of 20 in useContext