You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are using mobx-state-tree + ts in our production code for quite few years, and I am well familiar with strong and weak parts of the mst. We now started to encounter issues with memory consumption in our applications in production especially on big data models. For quite a few time i have in mind to make a valtio-state-tree library, luckily you're library is quite similar with what i wanted to try to implement, and it looks promising.
Do you use this library in production?
Is there any hints if this library is memory efficient?
How one will do a fetch in valtio-factory?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Relaxe111
changed the title
Can i use valtio-factory in production?
Is valtio-factory production ready?
Jun 15, 2023
At the end of the day this library just provides some sugar on top of valtio. Perhaps you should start using vanilla valtio first to see if it meets your requirements!
hi thank you for answer.
by How one will do a fetch in valtio-factory? i mean how i do promise based requests. in mst I can use flow(function* (){..}) how can i do an request for fetching data from an api. For example with axios?
@Relaxe111 In my opinion the implementation you're describing is probably considered an anti-pattern now in 2024.
What I mean by this is that you probably want to use a lib like tanstack query to handle your data fetching & async server state rather than a state management tool whose main purpose is to manage granular client-side reactivity. But that's just my opinion :)
Hi, we are using mobx-state-tree + ts in our production code for quite few years, and I am well familiar with strong and weak parts of the mst. We now started to encounter issues with memory consumption in our applications in production especially on big data models. For quite a few time i have in mind to make a
valtio-state-tree
library, luckily you're library is quite similar with what i wanted to try to implement, and it looks promising.Do you use this library in production?
Is there any hints if this library is memory efficient?
How one will do a fetch in valtio-factory?
Thanks in advance.
The text was updated successfully, but these errors were encountered: