|
|
|
|
|
by _heimdall
397 days ago
|
|
Reactivity features are helpful, but in my opinion they're only helpful in a problem that largely shouldn't exist. For a vast majority of websites out there state largely lives on the server. Reactivity is only helpful when the state reacted to is client side, and for that most sites that's only going to happen when we decide to keep a duplicate copy of state in the client rather than rendering on the back end where the state lives. I get the desire for smooth transitions, optimistic rendering, etc. Those goals lead to endless complexity and bugs when the actual source of truth lives elsewhere. How a site is build becomes way more simple when we stick to keeping HTML rendering where the state lives even if that means making UX tradeoffs. |
|
But, for a chat app it isn’t gonna cut it. Or a collaborative app, where changes need to be pushed to the client. Or maps, or similar. Or anything which needs offline working. (I’m working on a desktop app where majority of state is owned by and lives on the client.)
TLDR I agree for passive web pages but the web is often more than that, many times for good reason.