When I create a component using the `setup` syntax sugar, I can't get the instance of the current component
Version
3.2.26
Reproduction link
Steps to reproduce
Im sorry, SFC Playground
doesn't has console. You can open this code in your browser,.
- set
ref
to<Comp ref="compRef" />
and<SetupComp ref="setupCompRef" />
- open console,
compRef
has value, butSetupComp
doesn't
So why?
What is expected?
compRef
has value, SetupComp
also has value
What is actually happening?
compRef
has value, but SetupComp
doesn't
By the way, when I tried to debug in the browser after writing code using the setup
syntax sugar, I found myself in hell. my god