Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Destory existing element tree on reinitialization #38

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

awcodes
Copy link
Contributor

@awcodes awcodes commented Dec 17, 2023

When an async alpine component changes place in a DOM as a result of a backend request, it gets reinitialized without the first instance getting destroyed resulting in duplicated events getting dispatched from the same component.

@Accudio
Copy link
Owner

Accudio commented Dec 18, 2023

Thanks @awcodes! This has been merged and released in v1.2.1 today.

@awcodes
Copy link
Contributor Author

awcodes commented Dec 18, 2023

Really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants