This lesson is for members. Join us?
Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.
Accept Flexible Component Arguments (Reactive, Getters, or Plain Data)
In this lesson, learn how to make accepting reactive data to your Vue composables as intuitive and flexible as possible. How? Reach for the built-in toRef function and the MaybeRefOrGetter TS type. This allows you to accept, refs, plain data, and getters all in one swoop.
Links
