Open
Description
- VSCode Version: 1.51.0
- OS Version: macOS 10.15.7
- Typescript Version: 4.0.5
Steps to Reproduce:
- Clone the following repository: https://github.com/ChristianIvicevic/react-jsx-factory-repro
yarn install
all dependencies- Open the
index.tsx
and add theSampleComponent
without automatic completion and import of the component - Try to use Quick Fix on the
SampleComponent
to automatically add its import - Only the fix to import React is available initially - apply this Quick Fix
- Open the Quick Fix for a second time - now you are able to add the import for the
SampleComponent
Here is a gif of the differences with automatic import and with Quick Fixes:
With the newest version of Next.js it is no longer necessary to import the default export of React, thus step 5 should not appear in the first place.
Does this issue occur when all extensions are disabled?: Yes