Replies: 1 comment 2 replies
-
|
Yeah, you removed the element and then dispatched on it. So it bubbled up a disconnected tree. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hi. Thanks for AlpineJS. I have a issue, could you please help. I replace
this.$root.innerHTML =via ajax, but it broke events bubbling, sothis.$dispatch('cart_item_update')does not work.So this does not work
This is fixed version
Any idea how to make
this.$dispatch('cart_item_update')work?Beta Was this translation helpful? Give feedback.
All reactions