What is a Composable? (Vue 3)

preview_player
Показать описание
What is a Composable?

You think of composabes as the Composition API equivalent of Mixins for The Options API.

They allow us to extract out reactive data and logic and keep it separate from any particular component - so that we can reuse that reactive data and logic on multiple components without having to duplicate code

Рекомендации по теме
Комментарии
Автор

Please Like, Share, Subscribe & Comment - it all helps me create more content for you!

MakeAppswithDanny
Автор

Excellent explanation of composables! I so appreciate this video Danny! Thank you.

toddhammer
Автор

Brilliant Dany. This was the best example I've seen and it helped me create a Composible with my Supabase functions.

DavidGriffis
Автор

Hi danny, Thank you for your great guided tutorial.

Dipenparmar
Автор

Hey! Awesome video! The theme colour you are using looks great, mind to share which one is it, please?

RicArc
Автор

Would you still use this if you already have a state management like pinia?

ghostpants
Автор

I am not able to auto import components in vs code.

AnshulKumar-dtjn
Автор

if we use a pinia state. should we use the composable too

fajarsetiawansiagian
Автор

What can pinia do that composables cannot ?

Troy-olfk
Автор

This is the best content! My teacher! Hello from Russia! I'm sad that the payment on udemy was blocked from Russia((
I hope to see more content from you on YouTube. If Russia doesn't block it...

MrScalleta
Автор

Indeed very easy to see from which composables the data is coming from, unless people do something like return {...useProduct()}

Suriprofz
Автор

Please make a video about vue transition/transition-group component

Troy-olfk
Автор

Love your vids on Vue. Thank you very much.
Could you make a video with real-life examples of refactoring into Vue composables?
I'm at the point in my learning where I start to write crazy long methods and can't read myself properly...

pfodtakem
Автор

You have such a huge screen area and such a tiny code. Why do you need this huge frame with giant paddings. My 👀 are suffering...

TarasShabatin