Rendering `<Context.Consumer.Provider>` is not supported
marijoo opened this issue · 1 comments
marijoo commented
I’m not sure if this is a react-three-fiber problem, but I think so. As soon as I add a <Canvas />
element to my React (Gatsby) component I get the following warning in the console:
Warning: Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?
These are the versions I have installed:
├── @react-three/drei@9.102.6
├── @react-three/fiber@8.15.19
├── gatsby@5.13.3
├── react-dom@18.2.0
├── react@18.2.0
└── three@0.162.0
CodyJasonBennett commented
Try a clean install. I'll be putting some unrelated fixes for R3F out shortly.