https://react.dev/reference/react/createContext
useContext returns the context value for the calling component.
If there is no such provider, then the returned value will be the defaultValue you have passed to createContext for that context.
--> defaultValue를 설정 안 할수도 있나? 그렇다면 무엇을 반환하게 되는거지?
useContext() call in a component is not affected by providers returned from the same component. The corresponding <Context.Provider> needs to be above the component doing the useContext() call.
의견
Context.Provider
에 전달된 value에 따라 결정된다.