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

> The line in the post where "You can't even do something as basic as that with Web Components."

Actually that's factually inaccurate. You certainly can do that. registerElement returns a Constructor function, so you can export that in your module if you want to be able to require it elsewhere.



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

Search: