Is it useful to add data fetching function inside store? #2602
Unanswered
andrejmoltok
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@andrejmoltok yeah, valid code |
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,
I had problems with useState and useEffect, that it didn't update state effectively,so i decided to use Zustand for state management.
Is it logical to add the userdata-fetching function inside the store like this?
Beta Was this translation helpful? Give feedback.
All reactions