@ -19,7 +19,7 @@ This beta website contains the current draft of the new docs.
## How much content is ready? {/*how-much-content-is-ready*/}
* [Learn React](/learn): ~99% finished.
* [API Reference](/apis): 100% finished.
* [API Reference](/reference): 100% finished.
You can track our progress [on GitHub.](https://github.com/reactjs/reactjs.org/issues/3308)
@ -29,4 +29,4 @@ Please use [this GitHub issue](https://github.com/reactjs/reactjs.org/issues/330
## Will this site replace the main site? {/*will-this-site-replace-the-main-site*/}
We aim to switch this site to be the main one once we reach content parity with the [existing React documentation.](https://reactjs.org/) The old React website will be archived at a subdomain so you'll still be able to access it. Old content links will redirect to the archived subdomain, which will have a notice about outdated content.
We aim to switch this site to be the main one once we reach content parity with the [existing React documentation.](https://reactjs.org/) The old React website will be archived at a subdomain so you'll still be able to access it. Old content links will redirect to the archived subdomain, which will have a notice about outdated content.
@ -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.
* [`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)
@ -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:
@ -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:
@ -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>
<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)
* [`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.
@ -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)
* [`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