Skip to content

Add Support for React 19 in Flagsmith React SDK #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FrescoDev opened this issue Mar 12, 2025 · 2 comments
Open

Add Support for React 19 in Flagsmith React SDK #296

FrescoDev opened this issue Mar 12, 2025 · 2 comments

Comments

@FrescoDev
Copy link

Description:

Given React 19 is now stable, we'd like to be able to ensure this is supported with flagsmith sdks.

Proposed Solution:

  • Update Dependencies: Modify the Flagsmith React SDK's peer dependencies to include React 19.​
    npmjs.com
  • Testing: Conduct comprehensive testing to ensure full compatibility with React 19, addressing any issues that arise.​

Acceptance Criteria:

  • The Flagsmith React/JS SDK should function seamlessly in applications using React 19.​
  • All existing functionality should remain unaffected by the update.​
  • Documentation should be updated to reflect React 19 compatibility.​
@kyle-ssg
Copy link
Member

kyle-ssg commented Mar 20, 2025

Hi @FrescoDev thanks for raising, I believe this should work with React 19 assuming that peer dependency restrictions are ignored. Are you able to confirm this is the case? If so this is simply just a case of us adjusting the versions in package.json.

@FrescoDev
Copy link
Author

Hi @FrescoDev thanks for raising, I believe this should work with React 19 assuming that peer dependency restrictions are ignored. Are you able to confirm this is the case? If so this is simply just a case of us adjusting the versions in package.json.

Make sense thanks, I'll see if I can confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants