Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>React lazy import converterNew to Visual Studio Code? Get it now.
React lazy import converter

React lazy import converter

Yash Chauhan

|
364 installs
| (0) | Free
Converts react imports to React.lazy imports
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React lazy import converter

Example

import Component from '@components/example/Component';

// will be converted to 
const Component = React.lazy(() => import('@components/example/Component'));

Change Log

[v0.1.0] - 2023-12-03

  • Initial release

Added

  • Can convert react default imports to React.lazy imports
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft