Skip to content

Commit 64fe764

Browse files
Adds table of contents to readme
1 parent b5d1cae commit 64fe764

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
<!-- omit in toc -->
12
# react-cached-fetch
23

34
A simple react hook for data fetching with cache. It serves the cached version while waiting for the data to be fetched and then updates the cache with the fetched result. It is great for grids, lists or any other page thats loads data.
45
<br/><br/>
56

7+
<!-- omit in toc -->
68
# Features:<br/>
79
✅ 0 dependencies<br/><br/>
810
✅ Unopinionated<br/>
@@ -20,6 +22,18 @@ You can silently send a new GET request to your API and have your UI updated aut
2022
✅ TypeScript ready<br/>
2123
This library if fully written in TypeScript and supports generic types. You can use it both with plain JavaScript or with TypeScript
2224
<br/><br/>
25+
26+
- [Installation](#installation)
27+
- [Usage](#usage)
28+
- [API](#api)
29+
- [useCachedFetch](#usecachedfetch)
30+
- [Options](#options)
31+
- [Global Options](#global-options)
32+
- [Usage with other HTTP clients](#usage-with-other-http-clients)
33+
- [Usage with Typescript](#usage-with-typescript)
34+
- [🤝 Contributing](#-contributing)
35+
- [License](#license)
36+
2337
# Installation
2438

2539
Simply run:

0 commit comments

Comments
 (0)