React DOM module.
- Source:
- See:
Methods
(static) createRoot()
Create a root to display React components inside a browser DOM node.
After you’ve created a root, you need to call root.render to display a React component inside of it.
- Source:
- See:
(static) render()
Render a React element into the DOM in the supplied container and
return a reference to the component (or returns null for stateless components).
Deprecated.
- Source:
- See: