React DOM

The package that connects React to a web page, turning React elements into real browser page elements.

In more detail

React DOM provides createRoot for starting an app in the browser, createPortal for rendering elsewhere in the page, and server functions such as renderToStaticMarkup that produce HTML text. The core react package holds components and hooks, while react-dom holds everything specific to web pages.

Related terms

Taught in

References