zqran
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
beta/src/content/apis/react/forwardRef.md
|
|
@ -4,7 +4,7 @@ title: forwardRef |
|
|
|
|
|
|
|
<Intro> |
|
|
|
|
|
|
|
`forwardRef()` lets your component expose a DOM node to parent component with a [ref.](/learn/manipulating-the-dom-with-refs) |
|
|
|
`forwardRef` lets your component expose a DOM node to parent component with a [ref.](/learn/manipulating-the-dom-with-refs) |
|
|
|
|
|
|
|
```js |
|
|
|
const SomeComponent = forwardRef(render) |
|
|
|