DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Next.js
Why can't metadata/generateMetadata exports be used in global-error.tsx?
A
This is just an arbitrary restriction
B
global-error.tsx must be a Client Component (error boundaries require this), and metadata/generateMetadata exports are a Server Component-only feature
C
Metadata isn't supported anywhere in the App Router
D
It's a temporary bug that will be fixed
Check Answer