Replies: 2 comments
-
Here's what I've got: The key point seems this: zustand/docs/guides/typescript.md Line 405 in b1cea64
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I made zustand-namespaces to allow middleware to be used within slices. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've looked at similar discussions, but I believe the person in question was using a custom middleware ?
I have tried creating a sliced store, but I did not manage to make it use Middleware correctly, I could also not find a recipe that could help me out.
Codesandbox
I have here an example store
that combines into an animalStore
but partialize is not inferring the correct types, and I am getting strange errors on the
...a
I am not certain whether I am doing something wrong, or whether this is not a supported usecase
Beta Was this translation helpful? Give feedback.
All reactions