udecode / zustand-x

Zustand store factory for a best-in-class developer experience.
https://zustand-x.udecode.dev
MIT License
357 stars 25 forks source link

Zustand 4.5.0+ Support #79

Open enchorb opened 7 months ago

enchorb commented 7 months ago

Zustand 4.5.0+ introduces getInitialState (https://github.com/pmndrs/zustand/pull/2277).

Using zustand-x this does not work as have to stay on Zustand 4.4.7.

zbeyens commented 7 months ago

Thanks for reporting. Added to the README.

vcardins commented 3 months ago

Any updates on this?

vcardins commented 3 months ago

@zbeyens I'm a big fan of zustand-x's simplicity and would love to continue using it. Given the upcoming release of Zustand v5, I'm curious about the upgrade plans for zustand-x. Would maintaining compatibility with newer Zustand versions be a priority?

zbeyens commented 3 months ago

Will give a try once v5 is out

vcardins commented 3 months ago

@zbeyens Many thanks! The Version 5 RC is out. v5 RC Maybe it's a good time to start so we can release it simultaneously?

vcardins commented 2 months ago

@zbeyens Would you like me to assist in getting this started?

zbeyens commented 2 months ago

Would appreciate it!

vcardins commented 2 months ago

Could you please bring me up to speed on the matter and provide some guidance? I'm eager to contribute.

zbeyens commented 2 months ago

I didn't initiate the task so it just consists of migrating the breaking changes, including the types.