<!-- Please do not submit support requests or "How to" questions here. For that, - go to Stack Overflow: https://stackoverflow.com/questions/tagged/react-admin) for community support, or - use the Professional Support (https://marmelab.com/ra-enterprise/#support) if you're an Enterprise Edition subscriber. --> **What you were expecting:** <!-- Describe what the behavior would be without the bug. --> When I use ```<CreateBase resource="payments">```, I expect to have the ResourceContext set. **What happened instead:** <!-- Describe how the bug manifests. --> I don't have resourceContext set inside a CreateBase, I have to wrap it with the ```<ResourceContextProvider value='payments'>``` * React-admin version:4.0.2