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

🐛 Initializes Interceptors before store #4278

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

ekwoka
Copy link
Contributor

@ekwoka ekwoka commented Jun 28, 2024

Solves #4248

Stores were running their init method before interceptors were handled.

This handles interceptors first, just like how data does.

@calebporzio
Copy link
Collaborator

This is great, I think I actually ran into this the other day making a dark mode store and wanting to persist the value. Legend ❤️

@calebporzio calebporzio merged commit 09cac02 into alpinejs:main Jul 2, 2024
1 check passed
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