Hi! can you describe this mixing import, “ import defaultModule, { module1 as module, module2 } from "source/somePath/module.js";” as you wrote in your post? Thank you!
defaultModule would be a default export that we did in another file, modules in curly brackets would be named modules, for module1 we just change the name, while for module2 we import it as it is
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! can you describe this mixing import, “ import defaultModule, { module1 as module, module2 } from "source/somePath/module.js";” as you wrote in your post? Thank you!
defaultModule would be a default export that we did in another file, modules in curly brackets would be named modules, for module1 we just change the name, while for module2 we import it as it is