React Hooks - useContext Quiz

How can you share state logic between components using useContext?