News for hackers. Stuff that matters.
Re:I don't want to do front-end anymore by franga2000 on Tuesday February 09, 2021 @07:11AM (#26076576)
Sure you can, but then the moment you want to use an external library with it, it's basically a coin flip whether they ship it in the correct format for that. If they don't, you have to import it - but you can only import from modules. So you modify your page to load your code as a module instead, but now you can't access the global state. So you refractor everything and realize, that your page takes a minute to load because each of those modules contains like a 100 dependencies and half of them overlap.

TL;DR: it's there, but it's really only usable in like 5% of scenarios

There are no comments on this comment yet.