
Inheritance: a web component super power
By now, you have realized that I basically only post discussions or implementations that have come up on the job. This one is no different. I want to walk you through an implementation that we did recently and highlight a super power of web components that can be very useful when used correctly. I‘ll use a few examples that show exactly how I use inheritance to my benefit when building systems of components, and I‘ll also give a word of caution, because great power also comes with great responsibility So we‘re full on OOP now? I know that seeing the word “inheritance” from the jump and knowing that I‘m a web developer that loves making UI components probably has you nervous. You‘re probably worried that this article is about to take a turn down the dreaded Object-oriented Programming (OOP) paradigm path. Am I going to recommend that web apps be completely built with classes and that the Java devs were right all along and OOP is the way? Definitely not. Rest assured, components are basi
Continue reading on Dev.to Webdev
Opens in a new tab



