5 ms·
I looked into Apollo for local state years ago, after trying to synchronize remote & local state & running into race conditions, I quickly realized it is better
by joshribakoff 6y ago
I looked into Apollo for local state years ago, after trying to synchronize remote & local state & running into race conditions, I quickly realized it is better to implement GQL fetching inside something like Redux that is lower level & gives more control over determinism & timings.
The holy grail of "fixing race conditions" and avoiding async bugs is RxJS in my opinion, which is why I am working on what I call a "stream management library", its a state manager where your "state" is represented as RxJS streams https://rx-store.github.io/rx-store/ https://rx-store.github.io/rx-store/