You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,16 @@
6
6
7
7
The simplest way to start building with Tanstack Query.
8
8
9
-
This library builds on top of Tanstack Query to provide out-of-the-box functionality to help you get started faster, and keep the application code structured.
9
+
This library builds on top of Tanstack Query to provide out-of-the-box functionality to help you get started faster, and keep the application code well-structured.
10
10
11
-
It uses the builder pattern, the best pattern that works with complex Typescript types.
11
+
It uses the builder pattern, the best pattern for working with complex Typescript types.
12
12
13
13
[Visit the docs →](https://gkurt.com/react-query-builder/)
14
14
15
15
## Features
16
16
17
17
- REST client using fetch API
18
-
-Automaticly created query keys and easy invalidation
18
+
-Automatically created query keys and easy invalidation
19
19
- Customizable with middlewares
20
20
- Tag based invalidation
21
21
- Declarative optimistic updates
@@ -24,17 +24,11 @@ It uses the builder pattern, the best pattern that works with complex Typescript
24
24
## Advantages
25
25
26
26
- 💪 Strong-typed
27
-
- 🧩 Consistently structured
28
27
- 🚀 Features out-of-the-box
29
28
- ⚙️ Customizable and extendable
30
29
- 🪶 Zero dependencies
31
30
- 🚢 SSR and Router compatible
32
31
33
-
## TODO
34
-
35
-
- Infinite queries
36
-
- Single interface for mutations and queries
37
-
38
32
## Examples
39
33
40
34
Following code loads a list of Posts from an API, and presents a Delete button to delete each one.
@@ -49,9 +43,15 @@ const baseMutation = new HttpMutationBuilder().withBaseUrl(baseUrl);
0 commit comments