Closed pwldp closed 8 years ago
I have the same issue on the Meteor docs example of all things.
+1
use ReactDOM.render instead of React.render
Since React 0.14, you should use ReactDOM.render()
instead of React.render()
. The tutorial is a bit outdated, which we will fix soon.
Am I the only one to still have this error? Is this issue really closed?
Nope its not closed, i saw it today :)
What is the stack trace? Some of your code, or a package you are using, must be calling React.render
somewhere.
It is the react todo tutorial which is in error
The tutorial is a bit outdated, which we will fix soon.
I am using the react-template-helper package and getting the issue as well for all aspects related to ReactDOM (render, componentDidUnmount, etc.)
So apparently 3 of us at work all installed both the React and React-Template-Helper packages today and I got older version of both while theirs downloaded the version previous to the most recent version on Atmosphere. There seems to be something weird going on in this regard but after forcing those packages to update the problem has gone away.
Specifically on Jan. 6 I got React 0.14.1 when installing it, and react-template-helper 0.1.1X, the other 2 in my office got React 0.14.1_1 and react-template-helper 0.2.3.
Hi, After run new app I got warning: Warning: React.render is deprecated. Please use ReactDOM.render from require('react-dom') instead.