News for hackers. Stuff that matters.
Re:Show HN: µJS, a 5KB alternative to Htmx and Turbo with ze... by _HMCB_ on Saturday March 07, 2026 @07:41PM (#47293099)
Layman’s question: How to avoid the page jumping back to the top in the Playground examples?
Re:Show HN: µJS, a 5KB alternative to Htmx and Turbo with ze... by amaury_bouchard on Sunday March 08, 2026 @07:41AM (#47296545)
No worries! You can prevent the page from scrolling to the top by adding `mu-scroll="false"` to the link or form triggering the request. You can also disable it globally with `mu.init({ scroll: false })`.

In the Playground, the scroll-to-top behavior is intentiona, it's there to illustrate that feature.

Re:Show HN: µJS, a 5KB alternative to Htmx and Turbo with ze... by _HMCB_ on Friday March 13, 2026 @11:58PM (#47373203)
Awesome. Thank you.