5 Patterns for Better Components in Vue.js - Michael Thiessen

preview_player
Показать описание
How do you write a good component? It's a question that comes up again and again once you've mastered the basics of Vue. In this talk we’ll explore several different patterns for writing better components. We’ll look at techniques for simplifying our components, making them easier to understand, and getting more out of the components we’ve already got.
Рекомендации по теме
Комментарии
Автор

Great talk especially the "Preserve Object" pattern. I don't think I've ever seen this question broached before so… thank you!

LarryStone-qr
Автор

When does prop drilling become too much? In the example Michael used there was a three-level hierarchy of components. Do we consider this prop drilling big enough so that we need to replace it by the Data Store Pattern, which also adds other complexities? Can anyone share own experience, as I'd like to explore different point of views

preskoeducation
Автор

I liked the pattern that eliminates prop drilling, but I can’t help to think it would be a nightmare combining it with Storybook

justinhalsall