Re:Blitz: A lightweight, modular, extensible web renderer
by nicoburns on Monday August 12, 2024 @08:09AM
(#41223509)
Natively supported HTMX would be cool. Blitz is modular enough that this could probably be implemented as it's own wrapper around some of the core crates. And it wouldn't necessarily need to be coupled to the general HTML renderer.
Re:Blitz: A lightweight, modular, extensible web renderer
by 3523582908 on Monday August 12, 2024 @11:38AM
(#41225677)
I really appreciated this way of looking at HTMX! Thank you!
> But i guess JS engine is not even in the mix
Ideally a web renderer would support HTMX natively.
The general idea is that HTMX supports features that make HTML more complete:
- Why should only <a> & <form> be able to make HTTP requests?
- Why should only click & submit events trigger them?
- Why should only GET & POST methods be available?
- Why should you only be able to replace the entire screen?
Another way of thinking about it is that HTMX makes HTML elements less restrictive and more generic. If a web renderer takes that into account early in its design, it could end up simpler.