Closed
Description
Hello,
I'm testing v16.3.0 and I'm getting this warning:
Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported
My use case is that I wanted to render React Test Renderer (for ex) from a Component in an another (ReactDOM) renderer but it does not seem to work - I wanted to use same Provider in both containers.
I thought React.createContext
create objects with no state and could be shared across renderers / Fiber containers.. Is there workaround for this? Are there any thoughts on this, Is this a definite behaviour?
Following the warning, I eventually get the error message which I believe is related to the warning:
Uncaught Error: Unexpected object passed to ReactTestInstance constructor (tag: 13). This is probably a bug in React.
thank you for any guidance :)