Skip to content

Commit ac7027b

Browse files
authored
doc: Update links to React Query in README (#312)
Tanstack has somewhat recently rearranged their documentation, causing some old pages to 404. This addresses that, as well as drops in a link to the React Query lib install page, which covers different options for installing depending on project setup.
1 parent 4c0f669 commit ac7027b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,8 @@
7171

7272
If during generator setup you picked `> React Query components`, then you will need to install and configure React Query in order for the generated React hooks to work properly:
7373

74-
- Install the library
75-
76-
```bash
77-
npm i @tanstack/react-query
78-
```
79-
80-
- Wire up the `QueryClient` as described [here](https://tanstack.com/query/v4/docs/adapters/react-query).
74+
- [Install the React Query library](https://tanstack.com/query/latest/docs/framework/react/installation)
75+
- [Wire up the QueryClientProvider component](https://tanstack.com/query/latest/docs/framework/react/reference/QueryClientProvider) to connect and provide a QueryClient to your application
8176

8277
## Usage
8378

0 commit comments

Comments
 (0)