10 ms·
Reminds me a little of htmz htmz is a minimalist HTML microframework for creating interactive and modular web user interfaces with the familiar simplicity of p
by nattaylor 7mo ago
Reminds me a little of htmz
htmz is a minimalist HTML microframework for creating interactive and modular web user interfaces with the familiar simplicity of plain HTML.
- oso2k 7mo agoThis looks interesting. Thanks for sharing.
- ok_dad 7mo agoYay someone already mentioned my favorite “framework”! htmz is a masterclass in simplicity. It’s gotta be the all time code golf winner.
- whiterock 7mo agoquite cool, but the browser history being messed up drives me bonkers. is that easy to fix?
- lastdong 7mo agoYou should be able to push to history using history.pushState(…) after loading a new page. There are probably more details needed around popState to handle back and forward navigation. I’m sure Claude will be able to assist here, but maybe too much complexity when other similar libraries may also manage history state.
- amaury_bouchard 6mo agoYes, µJS manages browser history out of the box.
- amaury_bouchard 7mo agoYes, htmz is a great project! The core idea is similar, but htmz is intentionally more minimal (it's literally 166 bytes). µJS covers more ground: patch mode, SSE, DOM morphing, View Transitions, prefetch, polling, full HTTP verb support.