Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

ForwardRef components don't show their props in the tree #1213

@Jessidhia

Description

@Jessidhia

Their props always show up as null.

image

https://codesandbox.io/s/8lp03q2l3l / https://8lp03q2l3l.codesandbox.io/

Perhaps this was intended for when forwardRef is used solely to rename ref to a different prop name; but especially with useImperativeMethods there are full-fledged components that would be used as a forwardRef.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions