Skip to content

Commit 93f3ea1

Browse files
committed
fixup!
1 parent 403707e commit 93f3ea1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/site/components/withNodeRelease.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ type WithNodeReleaseProps = {
88
children: FC<{ release: NodeRelease }>;
99
};
1010

11-
// This is a React Server Component
12-
// Note that Hooks cannot be used in a React Server Component
11+
// This is a React Async Server Component
12+
// Note that Hooks cannot be used in a RSC async component
13+
// Async Components do not get re-rendered at all.
1314
const WithNodeRelease: FC<WithNodeReleaseProps> = async ({
1415
status: statuses,
1516
children: Component,

0 commit comments

Comments
 (0)