Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import * as React even in JS #46

Merged
merged 1 commit into from
Aug 19, 2020
Merged

Import * as React even in JS #46

merged 1 commit into from
Aug 19, 2020

Conversation

wKovacs64
Copy link
Contributor

This may be considered a controversial change, but see the following for reasoning:

facebook/react#18102
https://twitter.com/sebmarkbage/status/1250284377138802689

@burkeholland
Copy link
Owner

Oof. This is verbose.

But it looks like the ESM is going to break this if it isn't changed. I suppose getting in front of it is the right thing to do.

@burkeholland burkeholland merged commit 32b6075 into burkeholland:master Aug 19, 2020
@wKovacs64 wKovacs64 deleted the import-react branch January 5, 2021 15:32
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.

2 participants