With React 19, you can pass a promise from a server component to a client component.

Bonus: You don't need `use()` if it's used directly in JSX.

Demo with @StackBlitz 👉 https://stackblitz.com/edit/github-chkcux?file=src%2Fcomponents%2Fcounter.tsx,src%2Fpages%2Findex.tsx

#ReactJS #React #JavaScript #TypeScript #ServerComponents

Waku 01 Template Example - StackBlitz

Run official live example code for Waku 01 Template, created by Dai Shi on StackBlitz

StackBlitz