3 ms·
I don't get it. You still have to sync the state one way or another, network latency is still there.
by yanis_t 1y ago
I don't get it. You still have to sync the state one way or another, network latency is still there.
- Aldipower 1y agoMe neither. Considered we are talking about collaborative network applications, you are loosing the single-source-of-thruth (the server database) with the local first approach. And it just adds so much more complexity. Also, as your app grows, you probably end up to implement the business logic twice. On the server and locally. I really do not get it.
- jitl 1y agoYou can use the same business logic code on both the client and server. With the Linear approach, the server remains the source of truth.
- foldr 1y agoIt’s difficult to ensure that it’s always the same logic when client and server software versions can get out of sync. You can try to force the client to reload whenever the server redeploys, but realistically you’ll probably end up dealing with cases where the client and server logic diverge.
- croes 1y agoBut the user gets instant results
- WickyNilliams 1y agoThe latency is off the critical path with local first. You sync changes over the network sure, but your local mutations are stored directly and immediately in a local DB.