Next.js · Junior · Question 9 of 75
What kind of components are files in the app/ folder by default?
- ✓Correct answer: Server Components
- 2Client Components
- 3It depends on
next.configsettings
Explanation
In the App Router, everything is a Server Component by default: the code runs on the server and doesn't end up in the client bundle. To use state, effects, event handlers or browser APIs, add 'use client' at the top of the file.