mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
[Beta] Unified api format (#5090)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user