react
The package contains React.createElement()
, React.Component
, React.Children
, and other helpers related to elements and component classes. You can think of them as the isomorphic or universal helpers you need in order to build components. react-dom
The package contains ReactDOM.render()
, and in react-dom/server
we have server-side rendering support with ReactDOMServer.renderToString()
and ReactDOMServer.renderToStaticMarkup()
.
Comments