This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
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