Skip to content
loading...

re: Disadvantages of Javascript import VIEW POST

TOP OF THREAD FULL DISCUSSION
re: But then one could argue that this complaint is not legitimate because it applies to any language that requires importing libraries or modules of a...

In Python, you can just import the module name and get all its names and without any namespace issues (I wrote this before I remembered that in Javascript import * as ... is a thing). So in light of that yeah that complaint wasn't legit, but my other complaint was that when you import them instead of attaching them to the window, you can't access them in devtools.

code of conduct - report abuse