Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>little lazy importerNew to Visual Studio Code? Get it now.
little lazy importer

little lazy importer

Joel Sandén

|
153 installs
| (0) | Free
Convert standard ESM import to React Lazy imports
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Little Lazy Importer

Little Lazy Importer converts regular React imports to React.Lazy imports. Ain't that handy!

Features

![Convert](assets/feature.gif)

How to

  1. Open a react js file
  2. Cmd+P write Convert to React Lazy Imports and hit Enter
  3. Select the imports you want to convert
  4. Done!

More good stuff

🚀🚀🚀 Check out my other components: https://marketplace.visualstudio.com/publishers/se-joelsanden

Known Issues

The exstension only convert imports, you still need to add support for Suspense etc.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft