Skip to content

Warning: Function components cannot be given refs #153

Open
@jackiehluo

Description

@jackiehluo

Getting this error on the latest alpha (4.0.0-alpha.5):

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

    Check the render method of `Trigger`.

Looks like an issue from converting from class components to functional components?

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