Suresh Ponnukalai Suresh Ponnukalai - 1 year ago 113
React JSX Question

Is there any difference between React.render() and ReactDOM.render()?

I have noticed that some of the places in articles they have used "React.render()" and some of the places "ReactDOM.render()". Is there any specific differences are there between these two?

Answer Source

This is a very recent change introduced with 0.14. They split up React into a core library and the DOM adapter. Rendering is now done via ReactDOM.render.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download