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

Add demo for using slices #176

Open
charkour opened this issue Apr 24, 2024 · 2 comments · May be fixed by #194
Open

Add demo for using slices #176

charkour opened this issue Apr 24, 2024 · 2 comments · May be fixed by #194
Labels
documentation Improvements or additions to documentation

Comments

@charkour
Copy link
Owner

https://github.com/pmndrs/zustand/blob/main/docs/guides/slices-pattern.md

@charkour charkour added the documentation Improvements or additions to documentation label May 9, 2024
@mneveroff
Copy link

Wanted to quickly pass by and say thanks for this amazing middleware, very well done and it's about the best documented one out there.

Having the slices usage documented, especially with TS, would be invaluable as it can be a bit difficult to wrap one's head around getting that going, as well as combining with other middlewares. Albeit, the current wrap example is helpful as it hints at how it can be done and is already with TS.

@charkour
Copy link
Owner Author

Thanks for the kind words! If you manage to get the slices pattern working with zundo, please feel free to make a PR. Eventually I'll find some time to add an example myself, but it's difficult to know when I'll be able to.

@mneveroff mneveroff linked a pull request Dec 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants