Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ReactDOM.render()+ Context API = Warning: Detected multiple renderers concurrently rendering the same context provider #13177

Closed
JayKan opened this issue Jul 9, 2018 · 3 comments

Comments

@JayKan
Copy link

JayKan commented Jul 9, 2018

Do you want to request a feature or report a bug?

  • Bug I assume

What is the current behavior?

console.error node_modules/fbjs/lib/warning.js:33
    Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.

Steps to reproduce the behavior:

  • git clone https://github.com/JayKan/react-multiple-renderers-error
  • cd react-multiple-renderers-error
  • yarn
  • yarn test
  • See README on how to get rid of the error

What is the expected behavior?

  • No warning I guess

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

  • node: 8.11.1
  • npm: 6.1.0
  • yarn: 1.7.0
  • react: 16.4.1
  • react-dom: 16.4.1
  • react-test-renderer: 16.4.1
@JayKan
Copy link
Author

JayKan commented Jul 9, 2018

FYI, current bug is not related to #13150 and #12498

@aweary
Copy link
Contributor

aweary commented Jul 12, 2018

@JayKan this is related to #13150. The root issue in #13150 was that react-test-renderer and react-dom weren't working together with Context, which is the same issue you're seeing here. This was fixed #13164, which will be included in the next release.

@xsSeek
Copy link

xsSeek commented Mar 3, 2021

I have same issue 😂

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants