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(alpinejs): start on DOMContentLoaded #13014

Merged

Conversation

jasonlav
Copy link
Contributor

Related to issue #12710 (comment).

Externally loaded AlpineJS component scripts were loaded after Alpine.start() was triggered. Issue started with Astro V5.

Changes

Testing

  • This is a bugfix and integrations do not appear to have tests.

Docs

  • No documentation updates necessary; resolving a bug.

Copy link

changeset-bot bot commented Jan 20, 2025

🦋 Changeset detected

Latest commit: da02e03

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Jan 20, 2025
@florian-lefebvre
Copy link
Member

/snapshot alpine-scripts

@florian-lefebvre
Copy link
Member

I created a temporary PR at #13030 because we can't make snapshot releases from forks. Keep this one tho!

@florian-lefebvre florian-lefebvre linked an issue Jan 21, 2025 that may be closed by this pull request
1 task
@florian-lefebvre florian-lefebvre changed the title Trigger AlpineJS start on DOMContentLoaded fix(alpinejs): start on DOMContentLoaded Jan 22, 2025
@florian-lefebvre florian-lefebvre merged commit 820eee3 into withastro:main Jan 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Astro v5: AlpineJS alpine:init event not working
2 participants