4 ms·
What's the advantage of using hx-boost? Just slightly smoother transitions?
by naasking 4y ago
What's the advantage of using hx-boost? Just slightly smoother transitions?
- rasso 4y agoWith `hx-boost`, you can progressively enhance your server-rendered website to an SPA, just like with hotwire/turbo [0] or swup [1] (which I'm using a lot these days). This technique can come with a few other benefits apart from nicer page transitions, like preloading links on mouseenter and caching of visited pages. [0] https://turbo.hotwired.dev/ https://turbo.hotwired.dev/ [1] https://swup.js.org/ https://swup.js.org/
- naasking 4y agoSo it's mainly used for optimizations, and it's not a critical architectural tool for building a system. I'm looking at using htmx and Alpine in a project so my takeaway is just to avoid hx-boost and rely on the built-in browser navigation.