The
package containsreact
,React.createElement()
,React.Component
, and other helpers related to elements and component classes. You can think of these as the isomorphic or universal helpers that you need to build components. TheReact.Children
package containsreact-dom
, and inReactDOM.render()
we have server-side rendering support withreact-dom/server
andReactDOMServer.renderToString()
.ReactDOMServer.renderToStaticMarkup()