Skip to content

Commit

Permalink
docs: Typo in the readme + added inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MattCCC committed Oct 8, 2024
1 parent 532ff0c commit 7f99810
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<h4 align="center">Fast, lightweight (~3 KB gzipped) and reusable data fetching</h4>

<i>"fetchff" stands for "fetch fast & flexibly" </i>
<i>"fetchff" stands for "fetch fast & flexibly"</i>

[npm-url]: https://npmjs.org/package/fetchff
[npm-image]: http://img.shields.io/npm/v/fetchff.svg
Expand All @@ -22,7 +22,7 @@ Managing multitude of API connections in large Frontend Application can be compl

**Immutable:** Every request has its own instance.

**Isomorphic:** Comptabile with Node.js, Deno and modern browsers.
**Isomorphic:** Compatible with Node.js, Deno and modern browsers.

**Type Safe:** Strongly typed and written in TypeScript.

Expand Down
1 change: 1 addition & 0 deletions src/request-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ export function createRequestHandler(
);

// Shallow copy to ensure basic idempotency
// Note that the refrence of the main object does not change here so it is safe in context of queue management and interceptors
const requestConfig: RequestConfig = {
signal: controller.signal,
...fetcherConfig,
Expand Down

0 comments on commit 7f99810

Please sign in to comment.