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
What does React.cache provide when wrapping a data-fetching function used by BOTH a Server Component and a Client Component (via context)?
A
Automatic real-time updates
B
A single underlying execution per request, shared by every caller — whether called directly (Server Component) or resolved via context (Client Component)
C
It converts the function into a Client Component
D
Nothing — this pattern doesn't actually share data
Check Answer