by theultdev · 2y ago · 0 comments
I find the opposite approach of local-first (database in the client).
It fits more solutions and solves many more things (free offline, syncing, undo support) and getting rid of caching, retries, and latency.
Of course the industry wants you to want more on the server though.
Same view applies to RSC (react server components).
Embrace CRDTs.
local-first is more decentralized as your clients can sync directly with each other (or through a dumb proxy for NAT punching)
I see no need for servers to be anything but dumb proxies for clients. Not the opposite of making clients dumb terminals.
of course, it's not right for everything and there are alternative approaches that work better or worse, depending on context, but i'd say it's hard to not call it a pretty successful approach to distributed systems
seems more like a successful escape hatch. yes it's simpler, but it's antithetical to the goal.