useContext reads the current value from the closest provider for that Context in the component tree above it.