Skip to content

Commit

Permalink
Starting in
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Apr 30, 2024
1 parent 34b0c74 commit 5377f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/learn/manipulating-the-dom-with-refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ This lets you read individual DOM nodes from the Map later.

<NextMajor>

Starting in React 19 callback refs can return a cleanup function. When the cleanup function is provided, React will not call the `ref` callback with `null` and call the cleanup function instead:
Starting in React 19, callback refs can return a cleanup function. When the cleanup function is provided, React will not call the `ref` callback with `null` and call the cleanup function instead:

```js
<li
Expand Down

0 comments on commit 5377f6d

Please sign in to comment.