3 ms·
would it possible to have a browser ship with htmx so that it is possible to have truly "javascript optional"? (in principle this applies to any full js framewo
by streamofdigits 5y ago
would it possible to have a browser ship with htmx so that it is possible to have truly "javascript optional"? (in principle this applies to any full js framework but I suppose it is natural in the htmx context)
are there any unsurmountable issues around security and the sandbox etc (not terribly familiar with browser internals)
- deniz-a 5y agoMost of what htmx does is a direct extension of the browser's capabilities. Some issues I can think of are - maintaining the "accessible by default" nature of HTML - swapping. htmx takes html from the server and uses one of innerHTML, outerHTML and insertAdjacentHTML to put it into the document, but it also does a whole lot more to avoid unexpected behavior. This would all need to be specified and implemented natively
- yawaramin 5y agoIn general there are good reasons not to do that. It's much easier to ship a tiny dependency-free JS library than it is to ship a browser.