Little JavaScript trick I find useful: When declaring a named import, enter...


Little JavaScript trick I find useful:

When declaring a named import, enter the right-hand side first. Then, you get autocompletion support from your editor when entering the named import. 😎

#javascript
Even better: Just learned @code has a built in snippet for this. Type im and note that "import statement" is presented in the autocomplete window. Select import statement and it will tab right-to-left to assist with this! 👍

View original on X