Skip to content
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

feat(react-client): migrate from recoil to zustand #1870

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aleks3fs
Copy link

@aleks3fs aleks3fs commented Feb 6, 2025

There is an issue with running @chainlit/react-client, with latest React 19 and issue seems to be connected to usage of recoil.

In this PR I've

  • replaced recoil with zustand. I tried to combine logically connected parts of the state into stores.
  • bumped React to v19

It'd be nice to have this in the latest version, but I haven't been able to test everything.

 - Migrate from recoil to zustand
 - Bump react to v19
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. frontend Pertains to the frontend. labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Pertains to the frontend. size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant