About manually triggering lifecycle hooks #8730
Closed
Alfred-Skyblue
started this conversation in
General Discussions
Replies: 0 comments
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.
-
In the source code,
onMounted
will return a new function. The execution of this function will causeonMounted
to be called again. I think we should make it return undefined to prevent this from happening.demo
Beta Was this translation helpful? Give feedback.
All reactions