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(React 18): remove unnecessary React import #31900

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Docs(React 18): remove unnecessary React import #31900

merged 1 commit into from
Nov 29, 2021

Conversation

leoortizz
Copy link
Contributor

In the Server Components APIs (Alpha) code sample, importing React is unnecessary. People may think that having react's default export imported is needed to use Suspense

In the `Server Components APIs (Alpha)` code sample, importing React is unnecessary. It can confuse people that may think that having react's default export imported is needed to use Suspense
Copy link
Member

@leerob leerob left a comment

Choose a reason for hiding this comment

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

Thank you!

@kodiakhq kodiakhq bot merged commit 0202bb0 into vercel:canary Nov 29, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
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.

3 participants