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
medium
Next.js
Two Server Components both need the same user data. What's the recommended way to avoid fetching it twice, WITHOUT prop-drilling?
A
Manually pass the data as a prop through every intermediate component
B
Call the same fetch (or a React.cache-wrapped function) directly in each component that needs it — automatic memoization/caching handles deduplication
C
This isn't possible — one component must always own the data
D
Use localStorage to share it
Check Answer