ordinary-sapphireO
VAPIโ€ข5mo ago
ordinary-sapphire

client-sdk-react not compatible with React 19

Hey,

I already opened a GitHub issue but I wanted to point out that the client-sdk-react is not compatible with React 19. It would be great to fix that ๐ŸŽ‰

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)
Was this page helpful?