ref deconstruct defaultValue not work
Version
3.2.31
Reproduction link
Steps to reproduce
open link
What is expected?
data defaultValue 10 not work
What is actually happening?
Your useFetch()
is returning a ref, which is not undefined and therefor data
is filled wiht a ref with undefined which is why nothing is displayed. Change it to anything else like "hey"
and you will see "hey".
Remember to use the forum or the Discord chat to ask questions!