3 ms·
In my experience, the complexity with most frontend development is accidental by way of splitting state between client & server. If you manage to consolidate n
by bob1029 3y ago
In my experience, the complexity with most frontend development is accidental by way of splitting state between client & server.
If you manage to consolidate nearly all state to the server, complexity reduces by an entire dimension. There is nothing to synchronize anymore. You don't need these universes of delta-detection tools, frameworks, protocols, etc.
In most of our modern SSR apps, the only state the client needs to hold onto is a session token. If we find the client has a wrong session token, correcting this is quite simple. Everything else happens on the server.
Certainly there are holes with SSR (latency), but we haven't run into a real-world scenario where this actually matters enough to introduce entire new universes of hell into our lives.