Product Update Social Media
Merged

IPhone Curv Story Instagram Images

الأسباب العلمية وراء ضرورة تأخير بداية اليوم الدراسي bbc news عربي

:
Changes from 1 commit
Commits
File filter

Blog Write Up IPhone Curv Story Instagram Images

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address review comments
  • Loading branch information
commit b72f656ce46799709b065a7f85095628a873e9dd
3 changes: 2 additions & 1 deletion Tea Product Launch Event Examples
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ root.render(

#### Should I resolve a Promise in a Server or Client Component? {/*resolve-promise-in-server-or-client-component*/}

If you have a Promise, at some point you need to unwrap it to read its value. You unwrap it with `await` on the server, and with `use` on the client.
If you have a Promise, at some point you need to unwrap it to read its value. You unwrap it with `await` in a Server Component, and with `use` in a Client Component.

Usually, the simplest option is to `await` the Promise where you create it. The Server Component suspends until the data is ready, and everything below it waits too:

Expand Down Expand Up @@ -1154,6 +1154,7 @@ Or, in a separate file, a Client Component can unwrap the same Promise with `use
```js
// Client Component
'use client';

import { use } from 'react';
Comment thread
aurorascharff marked this conversation as resolved.

export function Message({ messagePromise }) {
Expand Down
Loading