The ReactDOM package lets you render React components on a webpage.

Typically, you will use ReactDOM at the top level of your app to display your components. You will either use it directly or a framework may do it for you. Most of your components should not need to import this module.


npm install react-dom
// Importing a specific API:
import { render } from 'react-dom';

// Importing all APIs together:
import * as ReactDOM from 'react';

You’ll also need to install the same version of React.

Browser Support

ReactDOM supports all popular browsers, including Internet Explorer 9 and above. Some polyfills are required for older browsers such as IE 9 and IE 10.



Renders a piece of JSX (“React element”) into a browser DOM container node.

This section is incomplete and is still being written!