Skip to content

Commit 0651d5b

Browse files
docs: update comparison (#103)
Adds "declarative" as an option for API definition for React Query. With v3, you can now configure all of your queries and mutations up front before calling them.
1 parent 1933770 commit 0651d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/introduction/comparison.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This comparison table strives to be as accurate and as unbiased as possible. If
2121
| Feature | rtk-query | react-query | apollo | urql |
2222
| -------------------------------------- | --------------------------------------- | ------------------------ | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
2323
| **Supported Protocols** | any, REST included | any, none included | GraphQL | GraphQL |
24-
| **API Definition** | declarative | on use | GraphQL schema | GraphQL schema |
24+
| **API Definition** | declarative | on use, declarative | GraphQL schema | GraphQL schema |
2525
| **Cache by** | endpoint + serialized arguments | user-defined query-key | type/id | type/id? |
2626
| **Invalidation Strategy + Refetching** | declarative, by type and/or type/id | manual by cache key | automatic cache updates on per-entity level, manual query invalidation by cache key | declarative, by type OR automatic cache updates on per-entity level, manual query invalidation by cache key |
2727
| **Polling ** | yes | yes | yes | yes |

0 commit comments

Comments
 (0)