| ▲ | Pxtl an hour ago | ||||||||||||||||
> Forum websites mostly deliver non-interactive content I'd say that "Endless Scroll" is a good example of something that is... well maybe not interactive but still breaks the "just an HTML document" page metaphor that plays nice with such things. Now, personally I find the UI compromises it takes to make endless scrolling happen are abhorrent (like not being able to ctrl-F or export the page content). But other people obviously like them. Is that the kind of thing you'd be giving up as you move to a platform like HTMX? | |||||||||||||||||
| ▲ | jimberlage 39 minutes ago | parent | next [-] | ||||||||||||||||
I first learned about endless scroll in a Ruby on Rails meetup, where the presenter was showing how to craft snippets of HTML with ERB and using a bit of JS to insert them below the existing entries. It's definitely possible. Maintaining a code path with a snippet for each possible viewing experience, back when REST was all the rage, was a bit obnoxious though. | |||||||||||||||||
| ▲ | geysersam an hour ago | parent | prev | next [-] | ||||||||||||||||
Infinite scroll with htmx: https://htmx.org/examples/infinite-scroll/ | |||||||||||||||||
| ▲ | toddmorey an hour ago | parent | prev [-] | ||||||||||||||||
Nope, HTMX could power endless scroll features if you want them | |||||||||||||||||
| |||||||||||||||||