3 ms·
The benefit is scoped everything (styles, JS, templates). So that when your site grows, and you start erasing functionality because you created something better
by marcosdumay 6y ago
The benefit is scoped everything (styles, JS, templates). So that when your site grows, and you start erasing functionality because you created something better, you can actually erase the entire functionality with confidence, and not have some stuff hanging around because nobody is sure what it's used for.
I have personally not built anything for the web using components, so I don't know how much they satisfy that promise in reality. But that's the promise.