Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


>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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: