We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 398ace5 commit 09185bcCopy full SHA for 09185bc
src/content/learn/manipulating-the-dom-with-refs.md
@@ -31,7 +31,7 @@ Then, use it to declare a ref inside your component:
31
const myRef = useRef(null);
32
```
33
34
-Finally, pass it to the DOM node as the `ref` attribute:
+Finally, pass your ref as the `ref` attribute to the JSX tag for which you want to get the DOM node:
35
36
```js
37
<div ref={myRef}>
0 commit comments