Remix.run Logo
goatlover 4 days ago

Do browsers have trouble loading and rendering HTML in 2025? Page load should be blazing fast if it's not loaded down with a bunch of other stuff that hasn't already been cached.

8n4vidtmkvmk 3 days ago | parent | next [-]

They don't. The reason to do it is not to save bytes, but because you have a dynamic page that needs to respond to the user without doing a full page refresh on every minor interaction.

wild_egg 3 days ago | parent [-]

Why on earth would you do a full page refresh on every interaction? Browsers have native support for partial page updates and prefetching.

JS is fine to use too as needed. Generally, it's not needed. Small snippets to pop open modals or flyouts of whatever covers a huge number of use cases.

hasanhaja 3 days ago | parent | prev [-]

No, but doing the rendering through JavaScript in userland will be slower than letting the browser handle it