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

docs: fix React default import #10036

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

henryqdineen
Copy link
Contributor

Something I noticed. There is no named React export from the React module. I think this code probably just works if you use enable "react-jsx" in the TS compiler or Babel "automatic" JSX runtime but in older code that uses React.createElement this would break since React is undefined. Thanks!

@StephenBarlow StephenBarlow merged commit cf503ce into apollographql:main Aug 29, 2022
PowerKiKi pushed a commit to PowerKiKi/apollo-client that referenced this pull request Aug 30, 2022
Co-authored-by: Stephen Barlow <stephen@apollographql.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants