Replies: 1 comment 1 reply
-
You could probably use some third party middleware to do that, like this one: zustand-computed |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello! This is my question.
I have two slices called
userSlice
andpageStatusSlice
.Now i hope
checkStatus
inpageStatus.ts
to be called automatically whenlogin
inuser.ts
is called. Could you please tell me how to achieve this? BTW, I want this process to happen outside the react function. I want this process can happen in thepageStatus.ts
. Just likeatomEffect
in jotai.Beta Was this translation helpful? Give feedback.
All reactions