Question about Vue Lifecycle Hook Execution Order #12877
Unanswered
rick-hup
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've noticed an interesting behavior: When two sibling components, where one is mounting and one is unmounting within the same update cycle, the execution order of beforeUnmount and beforeMount is not fixed.
Specifically:
However, in React, this order is deterministic: beforeMount always executes before beforeUnmount.
Questions:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions