Thoughts

mental health break ,./'"**^^$_---
I think *eventually* the future of web-apps will be Google Docs style. All logic is processed on the client, but updates are sent
*immediately* to the server. The client has a copy of state that it uses to render. Updates effect the client's local state instantly and re-render instantly; the client is the source of truth for logic. But all state changes are also broadcast to the server, and the server has a copy of the state that is authoritative, and lags the visual logic display by just a few hundred milliseconds. The problem with webapp design is that you have a few hundred millisecond delay between the server and the client. The question is where do you put that. The problem with Hotwire or Htmx is that it puts the 100ms delay in-between the action and the visual update. The problem with all-in on React or all-in on server-side updates (old-school forms, ASP.Net) is that it's easy to lose state (i.e. refreshing the page), because those updates are "chunked" and sent infrequently. Edit: Feb 16, for search, I've started calling this LFSA
Link 9:09 a.m. Aug 22, 2023 UTC-7