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
easy
Next.js
When should you reach for generateMetadata instead of a static metadata export?
A
Always — generateMetadata is strictly better
B
When the metadata depends on data (e.g. fetched from an API or database) that isn't known ahead of time
C
Only for the root layout
D
Only when using TypeScript
Check Answer