Skip to content

Commit 3b5c317

Browse files
Reworded for clarity
1 parent 675070a commit 3b5c317

File tree

1 file changed

+1
-1
lines changed
  • src/content/reference/react-dom/components

1 file changed

+1
-1
lines changed

src/content/reference/react-dom/components/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export default function MyForm() {
347347

348348
</Sandpack>
349349

350-
To fix the hanging ref to the DOM node that is no longer rendered set the `ref.current` to `null` in the ref callback cleanup function.
350+
To fix the hanging ref to the DOM node that is no longer rendered, set `ref.current` to `null` in the `ref` callback cleanup function.
351351

352352
```js
353353
import { useRef } from "react";

0 commit comments

Comments
 (0)