alpinejs / alpine

A rugged, minimal framework for composing JavaScript behavior in your markup.
https://alpinejs.dev
MIT License
28.46k stars 1.24k forks source link

:bug: Initializes Interceptors before store #4278

Closed ekwoka closed 4 months ago

ekwoka commented 5 months ago

Solves #4248

Stores were running their init method before interceptors were handled.

This handles interceptors first, just like how data does.

calebporzio commented 4 months ago

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 ❤️