2 min read
Where does "use client" go? As low as possible
"use client" doesn't mark a component, it marks a boundary. Everything imported below it ships to the browser. Here's how to keep it in check.
- #server-components
- #architecture
- #performance
2 min read
"use client" doesn't mark a component, it marks a boundary. Everything imported below it ships to the browser. Here's how to keep it in check.
The Journal
Concise articles on React and Next.js, delivered to your inbox. No noise — unsubscribe in one click.