Skip to content

Commit

Permalink
Update index.mdx
Browse files Browse the repository at this point in the history
React does not extend the fetch API, the memoization logic is injected by next.js
  • Loading branch information
eur00t authored Dec 24, 2024
1 parent 7a47ed5 commit 458e9b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Caching behavior changes depending on whether the route is statically or dynamic

## Request Memoization

React extends the [`fetch` API](#fetch) to automatically **memoize** requests that have the same URL and options. This means you can call a fetch function for the same data in multiple places in a React component tree while only executing it once.
Next.js extends the [`fetch` API](#fetch) to automatically **memoize** requests that have the same URL and options. This means you can call a fetch function for the same data in multiple places in a React component tree while only executing it once.

<Image
alt="Deduplicated Fetch Requests"
Expand Down

0 comments on commit 458e9b3

Please sign in to comment.