🔥🔥 Make sure to check out Vue Mastery! Vue Mastery is a premier teachable platform for all things Vue. Click here and check it out! It helps me keep this channel going! - www.vuemastery.com?fpr=erik52
Nice explanations, thank you Erik ! Maybe using $attrs instead of passing props leads to a lost of readability in childs components... But I'm using the filtered technique inside loops displaying dynamic components with component-is to avoid pass useless props. Great!
Interesting. I've never used $listeners before but we have a very large project that that uses the :class="" when embedding child components on purpose to assign a css class to the root template in the child component. I assume this is going away because you can now have multiple roots inside a component, which I completely understand. I think the benefits of this outweigh the need to make some changes to our codebase to accommodate this change when upgrading to Vue 3.
Hey Erik ! I kinda feel like Vue JS creates its own problems and solves them whereas React ecosystem solves only what is actually a problem and leaves the rest for us. What do you think ? I don't wanna diss any framework but am just asking you .