Skip to content

Commit

Permalink
Tiny Typo fix (#9371)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed May 6, 2024
1 parent b3f75da commit 6b30d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/single-fetch.md
Expand Up @@ -17,7 +17,7 @@ When you enable Single Fetch, Remix will make a single HTTP call to your server
- You must add `node_modules/@remix-run/react/future/single-fetch.d.ts` to the end of your `tsconfig.json`'s `include` array to get proper type inference
- Revalidation after an `action` `4xx`/`5xx` `Response` is now opt-in, versus opt-out
- The [`headers`][headers] function is no longer used when Single Fetch is enabled, in favor of the new `response` stub passed to your `loader`/`action` functions
- The old `installGlobals()` polyfill doens't work for Single Fetch, you must either use the native Node 20 `fetch` API or call `installGlobals({ nativeFetch: true })` in your custom server to get the [undici-based polyfill][undici-polyfill]
- The old `installGlobals()` polyfill doesn't work for Single Fetch, you must either use the native Node 20 `fetch` API or call `installGlobals({ nativeFetch: true })` in your custom server to get the [undici-based polyfill][undici-polyfill]

## Details

Expand Down

0 comments on commit 6b30d10

Please sign in to comment.