Suresh Ponnukalai Suresh Ponnukalai - 5 months ago 34
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?


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.