Skip to content

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

Merged
kodiakhq[bot] merged 1 commit intovercel:canaryfrom
leoortizz:patch-2
Nov 29, 2021
Merged

Docs(React 18): remove unnecessary React import#31900
kodiakhq[bot] merged 1 commit intovercel:canaryfrom
leoortizz:patch-2

Conversation

@leoortizz
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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