vuejs official website tutorial, enter / leave & list transition section, talk about "JavaScript hook"
link: ide/transitions.html-sharpJavaScript-%E9%92%A9%E5%AD%90" rel=" nofollow noreferrer "> JavaScript hook
when only JavaScript transitions are used, done must be used for callbacks in enter and leave. Otherwise, they will be called by Synchronize and the transition will be completed immediately
I tested it with the demo provided on their official website and found that there was no problem with not using done, which was strange.
this is the official website demo:
official website demo
my rewritten demo:
my rewritten demo
I don"t see the difference, so I don"t understand the meaning of the description quoted above.