This commit is contained in:
Raghunath Prabhakar
2025-09-02 12:42:32 -05:00
committed by GitHub
parent 67584b31ab
commit 0cc37ee979

View File

@@ -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)