meteor / react-packages

Meteor packages for a great React developer experience
http://guide.meteor.com/react.html
Other
573 stars 158 forks source link

Warning: React.render is deprecated #141

Closed pwldp closed 8 years ago

pwldp commented 8 years ago

Hi, After run new app I got warning: Warning: React.render is deprecated. Please use ReactDOM.render from require('react-dom') instead.

lawwantsin commented 8 years ago

I have the same issue on the Meteor docs example of all things.

Un3qual commented 8 years ago

+1

hlandao commented 8 years ago

use ReactDOM.render instead of React.render

yyx990803 commented 8 years ago

Since React 0.14, you should use ReactDOM.render() instead of React.render(). The tutorial is a bit outdated, which we will fix soon.

iboxgithub commented 8 years ago

Am I the only one to still have this error? Is this issue really closed?

TimeBandit commented 8 years ago

Nope its not closed, i saw it today :)

stubailo commented 8 years ago

What is the stack trace? Some of your code, or a package you are using, must be calling React.render somewhere.

TimeBandit commented 8 years ago

It is the react todo tutorial which is in error

stubailo commented 8 years ago

The tutorial is a bit outdated, which we will fix soon.

firrae commented 8 years ago

I am using the react-template-helper package and getting the issue as well for all aspects related to ReactDOM (render, componentDidUnmount, etc.)

firrae commented 8 years ago

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.