mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
fix: typo (#7914)
This commit is contained in:
committed by
GitHub
parent
67584b31ab
commit
0cc37ee979
@@ -12,7 +12,7 @@ In React 19, `forwardRef` is no longer necessary. Pass `ref` as a prop instead.
|
||||
|
||||
<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 the parent component with a [ref.](/learn/manipulating-the-dom-with-refs)
|
||||
|
||||
```js
|
||||
const SomeComponent = forwardRef(render)
|
||||
|
||||
Reference in New Issue
Block a user