Skip to content

Not Compatible with React 19 #11

@JPWallhorn

Description

@JPWallhorn

Hey,

the client-side-react uses React 18 currently and causes dependency problems with React 19. This is a widely known problem. Would appreciate a future release that's using the latest version of React.

TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
    at eval (webpack-internal:///(app-pages-browser)/./node_modules/@vapi-ai/client-sdk-react/dist/index.js:214:16)
    at Fi (webpack-internal:///(app-pages-browser)/./node_modules/@vapi-ai/client-sdk-react/dist/index.js:648:4)
    at Li (webpack-internal:///(app-pages-browser)/./node_modules/@vapi-ai/client-sdk-react/dist/index.js:652:51)
    at eval (webpack-internal:///(app-pages-browser)/./node_modules/@vapi-ai/client-sdk-react/dist/index.js:654:9)
    at (app-pages-browser)/./node_modules/@vapi-ai/client-sdk-react/dist/index.js (http://localhost:3001/_next/static/chunks/app/layout.js:180:1)
    at options.factory (http://localhost:3001/_next/static/chunks/webpack.js:712:31)
    at __webpack_require__ (http://localhost:3001/_next/static/chunks/webpack.js:37:33)
    at fn (http://localhost:3001/_next/static/chunks/webpack.js:369:21)
    at eval (webpack-internal:///(app-pages-browser)/./components/vapi-widget.tsx:8:83)
    at (app-pages-browser)/./components/vapi-widget.tsx (http://localhost:3001/_next/static/chunks/app/layout.js:137:1)
    at options.factory (http://localhost:3001/_next/static/chunks/webpack.js:712:31)
    at __webpack_require__ (http://localhost:3001/_next/static/chunks/webpack.js:37:33)
    at fn (http://localhost:3001/_next/static/chunks/webpack.js:369:21)

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