Hacker News new | ask | show | jobs
by hdjrudni 399 days ago
That doesn't look like it even has anything to do with custom components, that's just adding a method to a class. OOP 101.
2 comments

>just adding a method to a class. OOP 101.

You're right, it is just a method call from a class. Nothing interesting or new. And that's exactly why I like it! I like me FE code as boring, unimpressive and as simple as possible.

And custom elements are just classes, so you can do that.