Re:NPM and NodeJS should do more to make ES Modules easy to use
by wvenable on Thursday June 20, 2024 @12:28PM
(#40740504)
I've been newly doing a lot more front-end development and I've been sort of impressed by the autocomplete. You start typing the name you want to import and it autocompletes the name and module that it comes from. That actually seems more useful to me.
[ Parent
| on HN ]
Re:NPM and NodeJS should do more to make ES Modules easy to use
by MatthiasPortzel on Thursday June 20, 2024 @01:03PM
(#40740869)
Yep. Especially with relative imports, it’s easier to type `import { myHelperFunc` and let LSP complete `tion } from "../../../util"`.