vuejs.org favicon

Introduction | Vue.js

Introduction | Vue.js

#21
9
Public whispers
7
Contributors
2026-07-15 09:58:53
First whispered

Discussion activity

Public whispers on vuejs.org over the last 17 weeks

2 active days
Less
More

Recent public whispers

RSS
Text Highlight2026-07-16 16:22:56
Original Highlight Excerpt
"The .value property gives Vue the opportunity to detect when a ref has been accessed or mutated."
Whisper Note
So basically .value is like a little spy Vue plants on your data.
Text Highlight2026-07-16 13:19:56
Original Highlight Excerpt
"ref() takes the argument and returns it wrapped within a ref object with a .value property"
Whisper Note
Hmm, why not just return the value directly? Seems like extra steps.
Text Highlight2026-07-16 13:10:56
Original Highlight Excerpt
"ref() takes the argument and returns it wrapped within a ref object with a .value property"
Whisper Note
So basically every reactive value is just an object with a .value inside, got it.
Text Highlight2026-07-16 10:16:56
Original Highlight Excerpt
"Vue uses a $ prefix when exposing its own built-in APIs via the component instance. It also reserves the prefix _ for internal properties."
Whisper Note
Does that mean I can't use _count for my counter? Ugh.
Text Highlight2026-07-16 10:07:56
Original Highlight Excerpt
"Vue uses a $ prefix when exposing its own built-in APIs via the component instance. It also reserves the prefix _ for internal properties."
Whisper Note
Good to know, I always wondered what the $ was for.
Text Highlight2026-07-16 09:58:56
Original Highlight Excerpt
"Vue uses a $ prefix when exposing its own built-in APIs via the component instance. It also reserves the prefix _ for internal properties."
Whisper Note
Ah, so that's why my $_data broke everything
Text Highlight2026-07-15 10:16:53
Original Highlight Excerpt
"the Options API is implemented on top of the Composition API!"
Whisper Note
Makes sense, but I still prefer Options for simple components. Less boilerplate.
Text Highlight2026-07-15 10:07:53
Original Highlight Excerpt
"the Options API is implemented on top of the Composition API!"
Whisper Note
Wait, so the old way is just a wrapper? That actually explains a lot of weirdness.
Text Highlight2026-07-15 09:58:53
Original Highlight Excerpt
"the Options API is implemented on top of the Composition API!"
Whisper Note
So that's why they feel so consistent even when I switch between them.

See what people are saying on vuejs.org

Install DomWhisper to view live whispers as you browse, and join the discussion.

Get the extension