Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

PSA: This package works best with Next.js version >= 13 #77

Description

@mepc36

Tried to get it to work forever with Next.js v12, but no luck. Some of my struggles were documented here:

#71

Even after importing the Voiceflow component dynamically, the kept throwing a useState is undefined error at this line:

https://github.com/voiceflow/demo-react-chat/blob/main/src/context.tsx#L25

I'd then be shown this Invalid Hook Call error, which was a red herring:

https://legacy.reactjs.org/warnings/invalid-hook-call-warning.html

Upgrading to Next.js fixed most of my problems (if not all of them: #76)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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