Little Lazy Importer converts regular React imports to React.Lazy imports. Ain't that handy!
![Convert](assets/feature.gif)
- Open a react js file
Cmd+P
writeConvert to React Lazy Imports
and hitEnter
- Select the imports you want to convert
- Done!
๐๐๐ Check out my other components: https://marketplace.visualstudio.com/publishers/se-joelsanden
The exstension only convert imports, you still need to add support for Suspense
etc.