Created
November 5, 2015 10:05
-
-
Save vijayrawatsan/2e7e60106c95bdfde22c to your computer and use it in GitHub Desktop.
Another possible reason to run into "only a single copy of React can be loaded at a time"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: React can't find the root component node for data-reactid value `.0.2.0`. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time. | |
I was rendering a jsx server side. | |
In my componentWillMount I was resolving a promise, which was in turn changing the state and | |
adding children into the render method. | |
Solved this by making server side componentWillMount code run synchronously. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment