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

Sorry, I edited my post and took that out for being too detailed.

> If you really need that, can't you just register it as "my-thing-1" and then register the other one as "my-thing-2"?

Yes you can, but it means you gotta search-replace something, whereas in every modern programming language you just do an import or an alias or something like that.

And you still can't solve hot-reloading a web component that way.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: