Calling Alpine.data method without parenthesis doesnt apply initial value
#4710
Unanswered
ghabriel25
asked this question in
5. Bugs
Replies: 1 comment
-
|
The process for identifying if the the expression is a function or not can potentially take a small unpredictable tick to happen in the meantime, directly calling it skips that check. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The html shown and hidden spontaneously. Only when I specify the delay or use parenthesis, it works as expected like this
Based on documentation https://alpinejs.dev/directives/data#methods
Beta Was this translation helpful? Give feedback.
All reactions