Replies: 1 comment 7 replies
-
You can't apply middleware to store. middleware can only be used when creating a store. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm using latest Zustand version (4.3.5) and i want to use persist middleware with vanilla createStore. When i do:
i get the following error:
config is not a function
. What is the recipe to create persistent vanilla store? Thanks!Beta Was this translation helpful? Give feedback.
All reactions