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

Added slices pattern example #194

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mneveroff
Copy link

In an effort to close #176

I tried to base my example on an already existing https://github.com/charkour/zundo/blob/65a1c99d933d3ee6687b7d3e88efc36e4dee508f/examples/web/pages/separate.tsx, but had to add useShallow to prevent circular re-renders.

Updated the readme accordingly with a codesandbox link, let me know if other changes are needed.

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.

Add demo for using slices
1 participant