Vue.js 3 — How to Destructure Props in Composition API
Vue 3 introduced the composition API using <script setup> blocks. You can write any JavaScript in there to set up your Vue components. The composition API also introduced some hiccups related to reactive properties. For example, it’s possible to lose reactivity when destructuring reactive objects, like props. …
Continue Reading