Comment by ptx
8 days ago
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.)
8 days ago
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.