Skip to content

Conversation

@gnapse
Copy link
Contributor

@gnapse gnapse commented Sep 6, 2022

Reference

Test plan

Not really anything to test, but I still want explicit approval.

@gnapse gnapse requested a review from a team September 6, 2022 20:32
@gnapse gnapse self-assigned this Sep 6, 2022
@gnapse gnapse requested review from nats12 and removed request for a team September 6, 2022 20:32
Copy link
Contributor

@nats12 nats12 left a comment

Choose a reason for hiding this comment

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

Looks good 👍🏼 from the thread's poll we may need to change this again in the near future though to named imports.

@gnapse
Copy link
Contributor Author

gnapse commented Sep 8, 2022

Looks good 👍🏼 from the thread's poll we may need to change this again in the near future though to named imports.

The poll seems to have the wildcard import winning. But even if it did not, making the move to named imports is not easily achievable via search and replace. It may need a codemod script or something like that. In the meantime, we move away from the default React import that's deprecated.

@gnapse gnapse merged commit 92127ba into main Sep 8, 2022
@gnapse gnapse deleted the ernesto/refactor-react-imports branch September 8, 2022 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants