Skip to content

Warning: Function components cannot be given refs #83

@sadmansh

Description

@sadmansh

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

I tried with the example code shown in the repo README file, but that shows the error too. I am using React v16.13.1 and Node 14.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions