Skip to content

Commit 30cee3a

Browse files
authored
docs: Update dependent-queries.md (#5391)
I believe `isLoading` has been renamed to `isPending`
1 parent 9ee983a commit 30cee3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/react/guides/dependent-queries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ The `projects` query will start in:
3535

3636
```tsx
3737
status: 'pending'
38-
isLoading: false
38+
isPending: false
3939
fetchStatus: 'idle'
4040
```
4141

4242
As soon as the `user` is available, the `projects` query will be `enabled` and will then transition to:
4343

4444
```tsx
4545
status: 'pending'
46-
isLoading: true
46+
isPending: true
4747
fetchStatus: 'fetching'
4848
```
4949

5050
Once we have the projects, it will go to:
5151

5252
```tsx
5353
status: 'success'
54-
isLoading: false
54+
isPending: false
5555
fetchStatus: 'idle'
5656
```

0 commit comments

Comments
 (0)