Muhaddis is a Web Developer & Security Researcher who acknowledged by top companies including DEV for helping them finding security flaws in their products. He's also interested in cloud technology ✨
Thank you for writing and explaining things.
Now we're tracking the change with handleChange() function. As we use to do in React. What about v-model approach here? Can we use it with composition API? Correct me if I am wrong
I'm a bit late to the party - as I just started using the composition API myself - but it's definitely possible to use v-model, as before.
Just remember to set the variable you wish to assign to v-model in the setup() function, using a ref(). As in const newMovieName = ref(''); and use v-model="newMovieName".
Thank you for writing and explaining things.
Now we're tracking the change with
handleChange()
function. As we use to do in React. What aboutv-model
approach here? Can we use it with composition API? Correct me if I am wrongI'm a bit late to the party - as I just started using the composition API myself - but it's definitely possible to use
v-model
, as before.Just remember to set the variable you wish to assign to
v-model
in thesetup()
function, using aref()
. As inconst newMovieName = ref('');
and usev-model="newMovieName"
.apkzar.com/kinemaster-mod/ kinemastermod apk