Skip to content

Docs update request: Forwarding multiple refs #4580

Description

@pinksynth

Hello!

I have found a variety of resources on the web describing ways to forward multiple refs to a child component so they can be accessed by a parent component:

Would it be possible to add a section to the official docs which describes what is going on in these examples? I think that these examples use the behavior of useRef as described in the useRef docs, but I'm honestly not sure. I think an official example of this would be very helpful.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions