Please Like, Share, Subscribe & Comment - it all helps me create more content! 👉 Vue 3 Composition API Course: dannys.link/compositionapi 👉 My Courses: dannys.link/courses
Well done Danny. I'm testing pinia with composition api & the new setup method. Combining all together, now It's far better & less complex than vuex . Thinking seriously of changing my vue projects written in vuex !!
It’s sooo much better and less verbose than Vuex. When I get back on Fudget, I’ll be converting all my Composables-based state management over to Pinia.
helo sir, your video very helpfully like me as junior / new with vue may i have simple question, ref just can get primitive data type, and reactive to catch object, it's correct or not, sir? thank for your attention..
In theory, you could set a ref to an object, but it would be a bit messy, e.g: const myObj = ref({ person: { age: 27 } }) let personAge = myObj.value.person.age So it's better to use reactive objects, really, when you need an object.
Please Like, Share, Subscribe & Comment - it all helps me create more content!
👉 Vue 3 Composition API Course: dannys.link/compositionapi
👉 My Courses: dannys.link/courses
Thanks Danny. You got me out of a code hole. Very easy to understand lesson.
Glad to help, oohkumar 👍
I'm from Brazil. I'd like to thank you for the video.
It is helping me a lot.
Glad to hear that, Thiago!
Hello, the video is very helpful to clarify the different coding style.
Thanks Betty 👍
Excelente explicación Make
Thanks Ariel!
Awesome Danny i really appreciate the short and explanatory videos.
Thanks! 👍
Well done Danny. I'm testing pinia with composition api & the new setup method. Combining all together, now It's far better & less complex than vuex . Thinking seriously of changing my vue projects written in vuex !!
It’s sooo much better and less verbose than Vuex. When I get back on Fudget, I’ll be converting all my Composables-based state management over to Pinia.
That is great!!!
Thanks! 👍
Sir, what's difference of ref and reactive
Reactive is only for objects, and you don't need to use .value. Ref can be used for any data type, but you need to use the .value.
helo sir, your video very helpfully like me as junior / new with vue
may i have simple question, ref just can get primitive data type, and reactive to catch object, it's correct or not, sir?
thank for your attention..
In theory, you could set a ref to an object, but it would be a bit messy, e.g:
const myObj = ref({
person: {
age: 27
}
})
let personAge = myObj.value.person.age
So it's better to use reactive objects, really, when you need an object.
@@MakeAppswithDanny thank for detail explain 🙏