udecode / zustand-x

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

fix: allow partial persist states #73

Closed marbemac closed 5 months ago

marbemac commented 9 months ago

Description

See changesets.

Zustand's persist middleware supports persisting partial state (https://docs.pmnd.rs/zustand/integrations/persisting-store-data#partialize). This PR adjusts the typing to allow this.

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: bb2be7274d73784566e24b8a397fd9fb3ed18492

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------- | ----- | | zustand-x | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vcardins commented 5 months ago

Should this PR be merged?