Skip to content

Commit ef4bcb5

Browse files
authored
fix(readme): update fetchClient required value (#97)
1 parent 52fa085 commit ef4bcb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ A React Context Provider that holds the centralized cache for all the `useFetchy
976976
977977
| name | type | required | description |
978978
|---------------|------------|----------|------------------------------------------------------------------------------------------------|
979-
| `fetchClient` | `ES6Fetch` | `true` | A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) compatible function. |
979+
| `fetchClient` | `ES6Fetch` | `false` | A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) compatible function. |
980980
| `cache` | `Cache` | `false` | Fetchye `Cache` object. *Defaults to `SimpleCache`* |
981981
| `initialData` | `Object` | `false` | Initial state to feed into Cache Configuration `reducer` |
982982
@@ -1010,7 +1010,7 @@ import { FetchyeReduxProvider } from "fetchye-redux-provider";
10101010
10111011
| name | type | required | description |
10121012
|---------------|------------|----------|------------------------------------------------------------------------------------------------|
1013-
| `fetchClient` | `ES6Fetch` | `true` | A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) compatible function. |
1013+
| `fetchClient` | `ES6Fetch` | `false` | A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) compatible function. |
10141014
| `cache` | `Cache` | `false` | Fetchye `Cache` object. *Defaults to `SimpleCache`* |
10151015
10161016
#### `OneFetchyeProvider`
@@ -1043,7 +1043,7 @@ import { OneFetchyeProvider } from 'fetchye-one-app';
10431043
10441044
| name | type | required | description |
10451045
|---------------|------------|----------|------------------------------------------------------------------------------------------------|
1046-
| `fetchClient` | `ES6Fetch` | `true` | A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) compatible function. |
1046+
| `fetchClient` | `ES6Fetch` | `false` | A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) compatible function. |
10471047
| `cache` | `Cache` | `false` | Fetchye `Cache` object. *Defaults to `OneCache`* |
10481048
10491049
### Caches

0 commit comments

Comments
 (0)