Ref() vs. Reactive(): What to Choose Using Vue 3 Composition API?
Vue.js London 2023Watch video: Ref() vs. Reactive(): What to Choose Using Vue 3 Composition API?

22 min
Ref() vs. Reactive(): What to Choose Using Vue 3 Composition API?

There are two approaches to add a reactive state to Vue components using the Composition API. As a result, you must choose whether to utilize reactive(), ref(), or both. I'll guide you in making the best decision.