At my workplace, inside the parent component file, a context is created and then <MyContext.Provider value={value}> will wrap the component it will pass into later.
But in the child I see that the original MyContext assignment in the parent, is directly imported from the Parent component file.
I thought the context could be accessed from props at any level. can someone explain why a direct context import AND provider component wrapping is needed?