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

Syntax fix #1

Merged
merged 3 commits into from
Nov 4, 2022
Merged

Syntax fix #1

merged 3 commits into from
Nov 4, 2022

Conversation

Artur93gev
Copy link

No description provided.

acdlite and others added 2 commits October 13, 2022 12:22
Adds first class support for reading the result of a JavaScript Promise
using Suspense:

- Introduces support for async/await in Server Components. Write Server
  Components using standard JavaScript `await` syntax by defining your
  component as an async function.
- Introduces the `use` Hook. Like `await`, `use` unwraps the value of a
  promise, but it can be used inside normal components and Hooks,
  including on the client.

This enables React developers to access arbitrary asynchronous data
sources with Suspense via a stable API.
@acdlite acdlite force-pushed the first-class-promises branch 2 times, most recently from 72d3d3d to d40a465 Compare October 16, 2022 01:04
@acdlite acdlite merged commit 9c21ca1 into acdlite:first-class-promises Nov 4, 2022
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