Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.13 KB

File metadata and controls

34 lines (25 loc) · 2.13 KB
title Client React DOM APIs

<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD 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.

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.

e07ac94bc2c1ffd817b13930977be93325e5bea9 ======= 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. e07ac94bc2c1ffd817b13930977be93325e5bea9 ======= 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. e9a7cb1b6ca1659b42d81555ecef0cd554b7a983


Client APIs {/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 {/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.