Add React 19.1.0 Support to @vapi-ai/client-sdk-react
Muhammadh Ahzem
The current version of @vapi-ai/client-sdk-react only supports React 18.x in its peer dependencies. When attempting to use the SDK with React 19.1.0, I encounter dependency resolution conflicts because the package's peer dependencies don't include React 19.
Background Context
React 19 Release: React 19 was officially released on December 5, 2024, and has been stable for several months
Industry Adoption: Many frameworks like Next.js 15 are already using React 19, and the React ecosystem is rapidly adopting the new version
Current Limitation: The VAPI React SDK currently restricts users to React 18.x, preventing adoption of React 19's new features and improvements
I would like to request that the VAPI team:
Update peer dependencies in @vapi-ai/client-sdk-react to include React 19.x support
Test compatibility with React 19.1.0 to ensure all features work correctly
Update documentation to reflect React 19 support once implemented
Business Impact
Developer Experience: Currently, developers must choose between using VAPI's excellent voice AI capabilities or upgrading to React 19
Future-Proofing: React 19 adoption is accelerating, and early support would position VAPI as a forward-thinking solution
Competitive Advantage: Many other SDK providers are already updating for React 19 compatibility
Compatibility Considerations
Based on industry patterns, React 19 maintains backward compatibility with most React 18 code. However, I understand that proper testing would be needed to ensure full compatibility with VAPI's specific implementation.
Alternative Workarounds
While waiting for official support, developers currently must use --legacy-peer-deps or --force flags with npm/yarn, which is not ideal for production environments.
Thank you for your time and consideration. I look forward to your response and am happy to provide any additional information or testing assistance if needed.