diff options
author | 2021-07-17 21:46:51 +0200 | |
---|---|---|
committer | 2021-07-17 15:46:51 -0400 | |
commit | f74112798b71e3a6fb8531190f721ba2db07888a (patch) | |
tree | 2570a05d675dcbd36c9d2c2d94db4ef77da42f45 /docs/src/pages/guides/data-fetching.md | |
parent | 234b175a196345454bf33841572dc120d3581f45 (diff) | |
download | astro-f74112798b71e3a6fb8531190f721ba2db07888a.tar.gz astro-f74112798b71e3a6fb8531190f721ba2db07888a.tar.zst astro-f74112798b71e3a6fb8531190f721ba2db07888a.zip |
Fix typos in the documentation. (#731)
Co-authored-by: mundry <mundry@users.noreply.github.com>
Diffstat (limited to 'docs/src/pages/guides/data-fetching.md')
-rw-r--r-- | docs/src/pages/guides/data-fetching.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/pages/guides/data-fetching.md b/docs/src/pages/guides/data-fetching.md index 4f972dd82..7b28bedb4 100644 --- a/docs/src/pages/guides/data-fetching.md +++ b/docs/src/pages/guides/data-fetching.md @@ -55,7 +55,7 @@ const Movies: FunctionalComponent = () => { export default Movies; ``` -If you load a component using `node-fetch` [interactively](/core-concepts/component-hydration), with `client:load`, `client:visible`, etc., you'll need to either not use `node-fetch` or switch to an [isomorphic](https://en.wikipedia.org/wiki/Isomorphic_JavaScript) library that will run both at build time and on the client, as the [`node-fetch` README.md](https://github.com/node-fetch/node-fetch#motivation) reccomends: +If you load a component using `node-fetch` [interactively](/core-concepts/component-hydration), with `client:load`, `client:visible`, etc., you'll need to either not use `node-fetch` or switch to an [isomorphic](https://en.wikipedia.org/wiki/Isomorphic_JavaScript) library that will run both at build time and on the client, as the [`node-fetch` README.md](https://github.com/node-fetch/node-fetch#motivation) recommends: > Instead of implementing XMLHttpRequest in Node.js to run browser-specific [Fetch polyfill](https://github.com/github/fetch), why not go from native http to fetch API directly? Hence, node-fetch, minimal code for a window.fetch compatible API on Node.js runtime. > |