To share state logic between components, you can define a context that holds the shared state.
Question 18 of 20 in useContext