@ -10,7 +10,7 @@ The `react-dom/client` APIs let you render React components on the client (in th
---
---
## React DOM Client APIs {/*react-dom-client-apis*/}
## Client APIs {/*client-apis*/}
* [`createRoot`](/reference/react-dom/client/createRoot) lets you create a root to display React components inside a browser DOM node.
* [`createRoot`](/reference/react-dom/client/createRoot) lets you create a root to display React components inside a browser DOM node.
* [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) lets you display React components inside a browser DOM node whose HTML content was previously generated by [`react-dom/server`.](/reference/react-dom/server)
* [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) lets you display React components inside a browser DOM node whose HTML content was previously generated by [`react-dom/server`.](/reference/react-dom/server)
@ -10,7 +10,7 @@ The `react-dom/server` APIs let you render React components to HTML on the serve
---
---
## React DOM Server APIs for Node.js Streams {/*react-dom-server-apis-for-nodejs-streams*/}
## Server APIs for Node.js Streams {/*server-apis-for-nodejs-streams*/}
These methods are only available in the environments with [Node.js Streams:](https://nodejs.org/api/stream.html)
These methods are only available in the environments with [Node.js Streams:](https://nodejs.org/api/stream.html)
@ -19,7 +19,7 @@ These methods are only available in the environments with [Node.js Streams:](htt
---
---
## React DOM Server APIs for Web Streams {/*react-dom-server-apis-for-web-streams*/}
## Server APIs for Web Streams {/*server-apis-for-web-streams*/}
These methods are only available in the environments with [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), which includes browsers, Deno, and some modern edge runtimes:
These methods are only available in the environments with [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), which includes browsers, Deno, and some modern edge runtimes:
@ -27,7 +27,7 @@ These methods are only available in the environments with [Web Streams](https://
---
---
## React DOM Server APIs for non-streaming environments {/*react-dom-server-apis-for-non-streaming-environments*/}
## Server APIs for non-streaming environments {/*server-apis-for-non-streaming-environments*/}
These methods can be used in the environments that don't support streams:
These methods can be used in the environments that don't support streams:
@ -38,7 +38,7 @@ They have limited functionality compared to the streaming APIs.
---
---
## Deprecated React DOM Server APIs {/*deprecated-react-dom-server-apis*/}
## Deprecated server APIs {/*deprecated-server-apis*/}
@ -8,12 +8,8 @@ In addition to [Hooks](/reference/react) and [Components](/reference/react/compo
</Intro>
</Intro>
<InlineToc/>
---
---
## React APIs {/*react-apis*/}
* [`createContext`](/reference/react/createContext) lets you define and provide context to the child components. Used with [`useContext`.](/reference/react/useContext)
* [`createContext`](/reference/react/createContext) lets you define and provide context to the child components. Used with [`useContext`.](/reference/react/useContext)
* [`forwardRef`](/reference/react/forwardRef) lets your component expose a DOM node as a ref to the parent. Used with [`useRef`.](/reference/react/useRef)
* [`forwardRef`](/reference/react/forwardRef) lets your component expose a DOM node as a ref to the parent. Used with [`useRef`.](/reference/react/useRef)
* [`lazy`](/reference/react/lazy) lets you defer loading a component's code until it's rendered for the first time.
* [`lazy`](/reference/react/lazy) lets you defer loading a component's code until it's rendered for the first time.
@ -10,7 +10,7 @@ These APIs are exported from the `react` package, but they are not recommended f
---
---
## Legacy React APIs {/*legacy-react-apis*/}
## Legacy APIs {/*legacy-apis*/}
* [`Children`](/reference/react/Children) lets you manipulate and transform the JSX received as the `children` prop. [See alternatives.](/reference/react/Children#alternatives)
* [`Children`](/reference/react/Children) lets you manipulate and transform the JSX received as the `children` prop. [See alternatives.](/reference/react/Children#alternatives)
* [`cloneElement`](/reference/react/cloneElement) lets you create a React element using another element as a starting point. [See alternatives.](/reference/react/cloneElement#alternatives)
* [`cloneElement`](/reference/react/cloneElement) lets you create a React element using another element as a starting point. [See alternatives.](/reference/react/cloneElement#alternatives)
@ -23,7 +23,7 @@ These APIs are exported from the `react` package, but they are not recommended f