Re:Mesh: I tried Htmx, then ditched it
by scuff3d on Wednesday September 24, 2025 @12:38AM
(#45356355)
Stupid question, why have innerHTML as the default for HTMX but outerHTML for the spec merge?
[ Parent
| on HN ]
Re:Mesh: I tried Htmx, then ditched it
by recursivedoubts on Thursday September 25, 2025 @12:45PM
(#45375224)
innerHTML was the default of htmx for historical reasons, Alex pointed out that anything that can be achieved with innerHTML (or the other swap styles) can also be achieved with outerHTML (albeit with more violence to the DOM) so we felt that was the simplest option for a more general proposal.