Skip to content

Commit 17ca936

Browse files
author
nebarf
committed
Readme: fix typo
1 parent 7a6e845 commit 17ca936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ export default App;
468468
<br>
469469

470470
## Caching
471-
Any request can be cached by setting the `maxAge` (expressed in milliseconds) parameter as part of the reuqest options as shown below:
471+
Any request can be cached by setting the `maxAge` (expressed in milliseconds) parameter as part of the request options as shown below:
472472

473473
```js
474474
import { useHttpRequest } from 'react-http-fetch';
@@ -501,7 +501,7 @@ function App() {
501501
export default App;
502502
```
503503

504-
By default the http client uses an in-memory cache, so it will be flushed everytime a full app refresh is performed. You can override the default caching strategy by providing your own cache. The example below a http cache based on session storage:
504+
By default the http client uses an in-memory cache, so it will be flushed everytime a full app refresh is performed. You can override the default caching strategy by providing your own cache. The example below shows a http cache based on session storage:
505505

506506
```js
507507
import React from 'react';

0 commit comments

Comments
 (0)