DEV Community

loading...

Discussion on: Thought on Vue 3 Composition API - `reactive()` considered harmful

Collapse
smolinari profile image
Scott Molinari

There is a helper function for destructuring a reactive object called toRefs(). So, in the end, you can just use reactive objects and destructure them with toRefs().

Scott

Forem Open with the Forem app