0% found this document useful (0 votes)
6 views

Client React DOM APIs – React

The document provides an overview of the Client React DOM APIs, which are used to render React components in the browser. Key functions include createRoot for initializing a React tree and hydrateRoot for displaying components with pre-generated HTML. It also notes that React supports all popular browsers, including Internet Explorer 9 and above, with some polyfills needed for older versions.

Uploaded by

dungeon.dad87
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Client React DOM APIs – React

The document provides an overview of the Client React DOM APIs, which are used to render React components in the browser. Key functions include createRoot for initializing a React tree and hydrateRoot for displaying components with pre-generated HTML. It also notes that React supports all popular browsers, including Internet Explorer 9 and above, with some polyfills needed for older versions.

Uploaded by

dungeon.dad87
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

20/02/2025, 19:13 Client React DOM APIs – React

v19

API REFERENCE

Client React DOM APIs


The react-dom/client APIs let you render React components on
the client (in the browser). These APIs are typically used at the top
level of your app to initialize your React tree. A framework may call
them for you. Most of your components don’t need to import or
use them.

Client APIs
createRoot lets you create a root to display React components inside a
browser DOM node.
hydrateRoot lets you display React components inside a browser DOM
node whose HTML content was previously generated by react-
dom/server .

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

PREVIOUS

preloadModule

https://react.dev/reference/react-dom/client 1/2
20/02/2025, 19:13 Client React DOM APIs – React

NEXT

createRoot

Copyright © Meta Platforms, Inc

uwu?

Learn React API Reference

Quick Start React APIs

Installation React DOM APIs

Describing the UI

Adding Interactivity

Managing State

Escape Hatches

Community More

Code of Conduct Blog

Meet the Team React Native

Docs Contributors Privacy

Acknowledgements Terms

https://react.dev/reference/react-dom/client 2/2

You might also like