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 |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions