Skip to content

Error: Invalid Hook Call #22

@shoaib2527

Description

@shoaib2527

Here is what I did

  1. Clone project
  2. Rename steps
  3. yarn (root of react-native-module-template)
  4. cd example
  5. yarn && yarn android

Got this this Error "Invalid Hook Call".

Note:

  1. I added nothing in either Example project or main module.
  2. I tried it with & without "js-only" option. Got same result in both cases.
  3. If I comment out Counter import error disappears.

Let me know if anyone faced this issue.

Thanks in advance

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