Skip to content

Weakness to maintain asynchronous logic #1985

Answered by EmilTholin
baeharam asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @baeharam!

I think it's hard to give a blanket answer for all use cases. Using just MST and having your asynchronous logic in flow actions works great for a lot of apps, but just treating MST like a store and having more complex fetch logic in your React components with React Query is a nice way to go about it as well, if your particular project demands it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by baeharam
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