Skip to content

Commit 5475406

Browse files
committed
docs(lesson): add missing "use client" directive in RSC limitations example
- Add "use client" directive to clientPage.js code block in lesson 04-E - Clarifies client component requirements for educational accuracy
1 parent 693e589 commit 5475406

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lessons/04-rscs-with-nextjs/E-limitations-of-rscs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export default async function WhoAmI() {
6060
And now clientPage.js
6161
6262
```javascript
63+
"use client";
6364
import updateUsername from "./updateUsername";
6465

6566
export default function ClientWhoAmIPage({ children, id }) {

0 commit comments

Comments
 (0)