In retrospect:
from 'moduleName' import { stuff };
…would have been better for IDE autocomplete.
-
-
User to use.
-
I think that's true, but marginal. "Snippets" that jump the cursor around have been an editor fixture for years.
-
Also, I've heard there's a maxim about optimizing for readers not writers...
#TheZenOf -
Snark aside, "import is a keyword" is a high order bit here.
-
import 'stuff' as { moduleName } ?
-
import 'stuff' as { moduleName as otherThing }

-
The two `as`es there are confusing to me personally.
-
See my other tweets about leapfrogging improvements that involve managing the list of imports for you from the usage site.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.