Replies: 1 comment 1 reply
|
Hey, the inheritance topic is a recurring one; it has been discussed a few times on the discord, and also in issues like #1520 . Please note that, on top of |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello, 🙂
I feel like having HTMX using inheritance by default goes against the locality of behaviour principle. Having a
hx-boost="true"at a high level in the DOM to encapsulate all links seems smart, but you it is a double edged sword. I had some cases in which I spent a bit of time figuring out why stuff was not working, and it was related to inheritance (which is not obvious to me). So I end up addinghx-disinherit="*".I have a strong feeling that inheriting should not be the default behaviour.
All reactions