Skip to content

Unable to write a functional component using hooks (Error: Invalid hook call) #265

Description

@wilson-vw

When copying the first snippet from the usage section and replace the provided code by the one in the gif from the top of the README, I get an "Error: Invalid hook call".

image

Any suggestion.

Thank you in advance.

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