Request Memoization
During a single server render pass, React memoizes fetch calls with identical URL and options, so many components can request the same data independently and only one network call happens. It spans one request only — use React's cache() to get the same per-request deduplication for database queries and other non-fetch functions.
This Concept is waiting for its first lesson!
During a single server render pass, React memoizes fetch calls with identical URL and options, so many components can request the same data independently and only one network call happens. It spans one request only — use React's cache() to get the same per-request deduplication for database queries and other non-fetch functions.
Are you a teacher? Sign in to start contributing.
Sign In