Skip to content

destroy store zustand #3050

Answered by dbritto-dev
1bobofett1 asked this question in Q&A
Mar 14, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@1bobofett1 well, that implementation is wrong due to the naming is wrong but the you can create dynamically stores and use .setState(undefined) to "destroy" them

BTW, you need to read the docs we talked about that and other scenarios in the docs

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@1bobofett1
Comment options

@dbritto-dev
Comment options

Answer selected by 1bobofett1
@1bobofett1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants