Re:You don't need Next.js – Why we migrated from Next to React
by TekMol on Thursday January 02, 2025 @11:06AM
(#42575614)
I doubt that "client side routing" makes a site more snappy.
I think what you mean is that elements shared across pages (the header, the navigation bar etc) do not have to be sent again.
But those are very small anyhow. And you could bring the size down to zero by making them web components. Web components are cached along with the JS that defines them.
I think what you mean is that elements shared across pages (the header, the navigation bar etc) do not have to be sent again.
But those are very small anyhow. And you could bring the size down to zero by making them web components. Web components are cached along with the JS that defines them.