You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$nextTick is expected to execute a given expression AFTER Alpine has made its reactive DOM updates the same as Vue-nextTick. But looking at the source code there is some confusion "Maybe I am wrong".
Here in component.js line 107 the expression should be excuted. But it will not, as self.nextTickStack will be empty already when reaching this point because it has been iterated in initializeElements or updateElements.
@HugoDF@SimoTod what do you think? should lines [107-109] be removed if they are useless?
The text was updated successfully, but these errors were encountered:
$nextTick
is expected to execute a given expression AFTER Alpine has made its reactive DOM updates the same as Vue-nextTick. But looking at the source code there is some confusion "Maybe I am wrong".Here in component.js line 107 the expression should be excuted. But it will not, as
self.nextTickStack
will be empty already when reaching this point because it has been iterated ininitializeElements
orupdateElements
.@HugoDF @SimoTod what do you think? should lines [107-109] be removed if they are useless?
The text was updated successfully, but these errors were encountered: