Skip to content

Fix import fix on react or react dev - #41950

Merged
Andrew Branch (andrewbranch) merged 1 commit into
microsoft:masterfrom
Kingwl:react_dev_support
Feb 16, 2021
Merged

Andrew Branch (andrewbranch) merged 1 commit into
microsoft:masterfrom
Kingwl:react_dev_support

Conversation

@Kingwl

Copy link
Copy Markdown
Contributor

Fixes #41920

@typescript-bot TypeScript Bot (typescript-bot) added the For Backlog Bug PRs that fix a backlog bug label Dec 14, 2020
@xiaoxiangmoe

ZHAO Jin-Xiang (xiaoxiangmoe) commented Dec 17, 2020 •

Copy link
Copy Markdown
Contributor

Any update on this?

@Kingwl

Copy link
Copy Markdown
Contributor Author

ZHAO Jin-Xiang (@xiaoxiangmoe) No.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gabro

Copy link
Copy Markdown

I'm sorry to be that guy, but this PR has been approved almost two months ago. Is there any plan to include it in the next TypeScript release?

This bug makes it very hard when working with the new jsx factory trasform, since auto-import code actions basically just stop working and you end up with a lot of spurious (and unused) imports from 'react'.

@andrewbranch
Andrew Branch (andrewbranch) merged commit d6a32e3 into microsoft:master Feb 16, 2021
@gabro

Copy link
Copy Markdown

Thank you Andrew Branch (@andrewbranch) for the merge! 🙏

@andrewbranch

Copy link
Copy Markdown
Member

Sorry Gabriele Petronella (@gabro), I wanted to give others a chance to review, and it just slipped through the cracks. This will be released in 4.3 proper, or in the nightly starting tomorrow.

@gabro

Copy link
Copy Markdown

No worries, thanks and keep up with the great work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Bug: react-jsxdev support for add all missing imports

6 participants