Are You Following This Vue Best Practice?

  Рет қаралды 77,845

LearnVue

LearnVue

Күн бұрын

Prop stability is an important concept in Vue. By eliminating unnecessary updates, we can improve the performance of our app.
✅ FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS
learnvue.co/vu...
follow me on twitter:
/ mattmaribojoc
🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - go.learnvue.co...
Music by Lukrembo - Storybook

Пікірлер: 58
@Ma1ne2
@Ma1ne2 2 жыл бұрын
I would like to see more "best practices" videos!
@joshuatye1027
@joshuatye1027 4 ай бұрын
This example is based on the one from the docs. Just read the docs.
@Pineconeman10
@Pineconeman10 2 жыл бұрын
your Vue videos are top tier. super helpful, intuitive, concise, and interesting. thank you and please keep it up!!!
@CapitaineToinon
@CapitaineToinon 2 жыл бұрын
Oh my god this is the type of stuff I nerd over please more tips like that! Great video 👍
@RodrigoDAgostino
@RodrigoDAgostino 2 жыл бұрын
Beyond any doubt this is one of your most useful videos :) It’s not that easy to run into recommendations like this, so I would really appreciate it if you could share some more best practices with us And as always, thank you! :)
@ThaRealIansanity
@ThaRealIansanity Жыл бұрын
Thank you. Simple yet very important concept. Adding to my checklist "prop stability analysis"
@ramina2121
@ramina2121 2 жыл бұрын
Great video!! thanks I like this short kind of tips/tutorials. It is easy to watch.
@anbuselvanrocky
@anbuselvanrocky 2 жыл бұрын
Great. Indeed useful. Making videos like this will improve your subscribers very soon. Good luck and keep posting useful videos like this.
@wduandy
@wduandy 2 жыл бұрын
Amazing! Do you have a discord channel?
@LearnVue
@LearnVue 2 жыл бұрын
i've been thinking of making one...you interested?
@wduandy
@wduandy 2 жыл бұрын
@@LearnVue Yes! Would be really appreciated!
@fifthavenue2105
@fifthavenue2105 2 жыл бұрын
I've started learning vuejs a few weeks ago and this channel helped me a lot!
@vornamenachname906
@vornamenachname906 Жыл бұрын
gl
@caiovinicius7871
@caiovinicius7871 2 жыл бұрын
No, i'm definitely not following this practice, until now... Tks dude! 😄💥
@SecondKing_2K
@SecondKing_2K 2 жыл бұрын
Sir please make a video.... How to bundle vue3+ with django
@kyrylokravchuk9933
@kyrylokravchuk9933 2 жыл бұрын
Hi, thanks for video! I really like you channel. There is a siren sound in the theme, and I never pay attention to it, till this war. So interesting how human noticing different things
@yte50
@yte50 2 жыл бұрын
I've stopped stopped liking your videos after watching them, I just press play, like and get wowed, you never disappoint and that's just the honest truth.
@AlamKhan-yt9wd
@AlamKhan-yt9wd Күн бұрын
Can we have an A.I. model that'll go through your codebase & find this kind of inefficiency???
@rybrockerz
@rybrockerz 2 жыл бұрын
Amazing. I am just creating an image gallery that I know will hugely benefit from this knowledge. Thank you so much for sharing 🙂
@MohamedElhadad-l1k
@MohamedElhadad-l1k 5 ай бұрын
I would like to see more "best practices" videos!
@tetianabelik2667
@tetianabelik2667 Жыл бұрын
I would like to see more "best practices" videos!
@dibbyo456
@dibbyo456 2 жыл бұрын
Quality content. Loved it.
@LearnVue
@LearnVue 2 жыл бұрын
Much appreciated!
@hacking-multiboot904
@hacking-multiboot904 5 ай бұрын
Woooo
@kylebruns9060
@kylebruns9060 2 жыл бұрын
That’s funny because I literally made this mistake and codepen was throwing an error on my code ! (Vs code wasn’t)
@AbubakrSiddique-splenify
@AbubakrSiddique-splenify 5 ай бұрын
Insightful
@ВладимирНетот
@ВладимирНетот 7 ай бұрын
Great!
@7red4
@7red4 2 жыл бұрын
Didn't notice that before. Helps a lot! Thank you!
@JeanDidier
@JeanDidier 2 жыл бұрын
Fireship tone clone :) Instructional ++
@quintencabo
@quintencabo Жыл бұрын
Basicaly just pass the minimum amount of data
@tutunmayan
@tutunmayan 2 жыл бұрын
Like your short and very informative videos
@ivanbragin7932
@ivanbragin7932 2 жыл бұрын
That's actually a nice tip. I really like this one
@internetproxysat
@internetproxysat 2 жыл бұрын
I would like those type of videos
@oussamaabderrahim9793
@oussamaabderrahim9793 2 жыл бұрын
Awesome video! Thanks a lot
@ecofriend93
@ecofriend93 2 жыл бұрын
This is great! Thanks for sharing.
@yannsoliveres5550
@yannsoliveres5550 2 жыл бұрын
How about an Object prop ? Does it trigger an update if the children component mutate the value of an attribute of the Object prop ?
@yannsoliveres5550
@yannsoliveres5550 2 жыл бұрын
Great video btw 😄
@tobychidi
@tobychidi 2 жыл бұрын
Scary but powerful
@riyad-appscode
@riyad-appscode 2 жыл бұрын
more videos like this please
@ch1ldr3n27
@ch1ldr3n27 Жыл бұрын
Is this code editor vs code?
@anjoliwanag4927
@anjoliwanag4927 2 жыл бұрын
Im gonna start doing this
@weybansky
@weybansky Жыл бұрын
makes perfect sense
@sachon10
@sachon10 2 жыл бұрын
Simple and effective!
@joseaminan
@joseaminan 2 жыл бұрын
Great video!!
@salahiddinediouri280
@salahiddinediouri280 2 жыл бұрын
super helpful 🥰
@carlosenriquepineiro375
@carlosenriquepineiro375 2 жыл бұрын
Thanks!
@UBERDHOKER
@UBERDHOKER 2 жыл бұрын
Does the component also rerender when a bound attribute is changed that the component does not define as a prop? For example when binding $attrs to a child.
@dvdrtrgn
@dvdrtrgn 2 жыл бұрын
Why would it?
@UBERDHOKER
@UBERDHOKER 2 жыл бұрын
@@dvdrtrgn It's a reactive property bound to the component just like a prop
@dvdrtrgn
@dvdrtrgn 2 жыл бұрын
@@UBERDHOKER So only if the attr has a reactive value bound will a rerender be triggered upon an $attrs change.
@Dipenparmar12
@Dipenparmar12 Жыл бұрын
Amazing tip.
@LearnVue
@LearnVue Жыл бұрын
Glad you think so!
@radekhladik7895
@radekhladik7895 2 жыл бұрын
This is actually a bad practice. The component should be written so that they do not update if not needed. The issue of the solution mentioned in the video is that it moves logic out of the component....
@joseisrael2946
@joseisrael2946 Жыл бұрын
How would you go about this? Could you provide an example?
@radekhladik7895
@radekhladik7895 Жыл бұрын
@@joseisrael2946 sorry, I do not remember this exact issue and do not have time to rewatch it now. All I remember is thar he duplixates some part of the logic out of the component to detect if the component should be updated And that is totally against the idea of compobents - packing all related code, logic, etc at one place. If you ever need to change the logic, you should be doing it only in the component. Only if the component need more inputs or its output changes only then you should need to go out of the component. One general solution could be that the component would have some sort of method "do I need to be updated?".
@StephanHoyer
@StephanHoyer Жыл бұрын
Why Vue is so esoteric and complicated.
@S-Lomar
@S-Lomar 10 ай бұрын
Welcome to my pages 🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰
@sv2109
@sv2109 Жыл бұрын
Thanks for this: activeId=(activeId+1) % arr.length
Common Mistakes in Vue js and How to Avoid Them - Daniel Kelly
29:49
VueConf Toronto
Рет қаралды 7 М.
The Difference Between Vue and React
10:27
Lachlan Miller
Рет қаралды 38 М.
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 4,8 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,1 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
5 Ways to Fetch Data from an API in Vue 3 Composition API
6:28
Justin Brooks
Рет қаралды 74 М.
Vapor: The Future Of Vue
21:27
Theo - t3․gg
Рет қаралды 121 М.
7 Vue Patterns That You Should Be Using More Often
14:05
Lachlan Miller
Рет қаралды 33 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 68 М.
Vue.js Modular Architecture
11:48
Sanjar Mirakhmedov
Рет қаралды 49 М.
Vue is getting EVEN FASTER?
5:21
LearnVue
Рет қаралды 15 М.
You're Probably Using Nuxt Wrong
5:16
LearnVue
Рет қаралды 26 М.
15 Vue 3 Tips and Tricks
6:37
Justin Brooks
Рет қаралды 34 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 232 М.
Pinia Simplified
4:28
LearnVue
Рет қаралды 122 М.
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 4,8 МЛН