Alpine.effect() does not trigger when combined with Alpine.store() #4484
Replies: 1 comment 1 reply
-
|
Strange I didn't see this, but this should show as an parsing error for invalid left hand assignment. You can't assign something to the result of a function call. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I assume the
Alpine.store()is reactive by nature.I just need a function to get triggered when an array of images gets empty, the array is already inside the
Alpine.store.Shouldn't the following code work (without the need of using
Alpine.reactive()?Everything is working great, except the code inside
Alpine.effect()=>Beta Was this translation helpful? Give feedback.
All reactions