Replies: 1 comment
-
There isn't any reason to lock down data, magic, directive, plugin, etc after start is called. this can be useful for lazy loading components. |
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
-
I found out that
Alpine.data()
can be called afterAlpine.start()
, the only requirement is that the markup that uses it has to be inserted after the data is defined:Alpine.start()
Alpine.data()
Since it is undocumented behavior, I'm curious, if it's intended or accidental.
Is it safe to use in large production apps? Is it planned to retain this behavior for future Alpine major versions (e.g. v4)?
Beta Was this translation helpful? Give feedback.
All reactions