Comment by ricardobayes
8 days ago
There is a whole new paradigm in UX design now: get rid of immediate page changes and loading states and instead keep the user on the same page until things load, and show it when it's ready.
8 days ago
There is a whole new paradigm in UX design now: get rid of immediate page changes and loading states and instead keep the user on the same page until things load, and show it when it's ready.
Modern browsers already do this by default with server-rendered pages. No JS hacks needed. (And the browser UI correctly indicates that it's in a loading state while it's loading.)
Modern browsers will even animate it between server-rendered pages with View Transitions CSS now.