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

fix: allow partial persist states #73

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

marbemac
Copy link
Contributor

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.

Signed-off-by: Marc MacLeod <847542+marbemac@users.noreply.github.com>
Signed-off-by: Marc MacLeod <847542+marbemac@users.noreply.github.com>
Copy link

changeset-bot bot commented Dec 29, 2023

🦋 Changeset detected

Latest commit: bb2be72

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
Copy link

Should this PR be merged?

@zbeyens zbeyens merged commit c86c8e8 into udecode:main Apr 18, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants