3.1.0-beta.3
Reproduction link Steps to reproduceOpen the included SFC Playground reproduce link, and open the browser dev tool console to check the log
What the code does:
On the console I am expecting to see watchEffect
in the Child component to be triggered twice: once immediately, and once when the initialized
ref is set. Specifically, I am expecting to see
watchEffect triggered with initialized = true
at the end of the console log
What is actually happening?watchEffect in the Child is NOT triggered when the initialized
is set inside onMounted
. Console log indicates watchEffect
is only triggered once:
setting state.showChild
watchEffect triggered with initialized = undefined
Child onMounted
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4