Recoil is obsolete, project should use jotai or zustand
Is your feature request related to a problem? Please describe. Recoil is obsolete, project should use jotai or zustand. Recoil is not supported in React 19.
Describe the solution you'd like Repalce recoil state manager with jotai or zustand.
+1 This will be required for React 19 support of chainlit and therefore all projects that use chainlit. Highly doubt Recoil will see any React 19 support, given that it didnt get any updates in 1.5 years..
zustand would be a better alternative in this case , it is simple and well maintained for future updates
I recomment Zustand. it's simple and clean!
I've ported the @chainlit/react-client to zustand and will post a PR soon 👀 For the rest of chainlit, maybe we can work this through collaboratively, it's really not hard to switch.
https://github.com/Chainlit/chainlit/pull/1870 Working on it here now.