Vue Mastery VUE 3 COMPOSITION API CHEAT SHEET (Part 1) import { reactive, computed, toRefs } from "vue" const event = reactive({ capacity: 4, attending: ["Tim", "Bob", "Joe"], spacesLeft: computed(() => { return event.capacity - event.attending.length; }) }); function increaseCapacity() { event.capacity++ } const { capacity, attending, spacesLeft } = toRefs(event) CAN ALSO BE WRITTEN AS: Reactive