Vue 3 Ref Vs Reactive

Posted on  by admin
Ref() and Reactive() are the new ways of creating reactive property introduced in Composition API Vue 3.

They are wrapper objects that can be initialized with inner values and assigned to variables.

In Vue 3, we need to import the desired package first before using it in the component.

Reactive

Ref

vsync
102k