How cool, I didn't know this. Is there anything against using $ref() instead of ref()?
$ref()
ref()
Edit: I found a problem and it is that the editor says that there is an error because it is trying to modify a constant.
const isReading = ref(true); isReading = false; //<- Error, is constant.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How cool, I didn't know this. Is there anything against using
$ref()
instead ofref()
?Edit:
I found a problem and it is that the editor says that there is an error because it is trying to modify a constant.