Show HN: htmz – a low power tool for HTML
leanrada.com
Show HN: htmz – a low power tool for HTML
1–10 of 256 posts
Re: Show HN: htmz – a low power tool for HTML
#2Kind of impressive that the installation script was that small.
Re: Show HN: htmz – a low power tool for HTML
#3Simple and powerful, as the vanilla web should be. Thank you for this (small) gem :)
Re: Show HN: htmz – a low power tool for HTML
#4At what point does it cease to be a framework and become just a regular line of code?
Re: Show HN: htmz – a low power tool for HTML
#5This is a neat hack, I like it :). Thanks for sharing.
Re: Show HN: htmz – a low power tool for HTML
#6At what point does it cease to be a framework and become just a regular line of code?
From the FAQ:
> * Is htmz a library or a framework?
> htmz is a snippet.
Re: Show HN: htmz – a low power tool for HTML
#7Apparently it breaks your back button too.
Re: Show HN: htmz – a low power tool for HTML
#8Reminds me of pjax [1], except pjax works over XHR instead of an iframe and uses pushState by default to keep the back button working.
Re: Show HN: htmz – a low power tool for HTML
#9Given that this uses `target`, doesn't it mean that unlike htmx you can't easily make this gracefully degrade when JS isn't enabled?
And, yes, I know, saying "when JS isn't enabled" in 2024 is a bit like saying "when the user is on Mars and has a 10 minute RTT" but forgive me for being an idealist.
Re: Show HN: htmz – a low power tool for HTML
#10Apparently it breaks your back button too.
If you're talking about the tabs demo, I think it's reasonable for some use cases to respect back button as previous tab. as long as it's easy to opt out.