Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/content/reference/react-dom/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ The `react-dom` package provides two additional entry points:

---

## Legacy APIs {/*legacy-apis*/}

These APIs are exported for compatibility with legacy roots created with `ReactDOM.render` in React 18 and earlier. They are not recommended for newly written code.

* `unstable_batchedUpdates` lets you batch updates that happen outside React event handlers in legacy roots. In React 18+ with `createRoot`, React batches updates automatically, so `unstable_batchedUpdates` is a no-op.

---

## Removed APIs {/*removed-apis*/}

These APIs were removed in React 19:
Expand Down
Loading