Skip to content

Commit

Permalink
docs: Update dependent-queries.md (#5391)
Browse files Browse the repository at this point in the history
I believe `isLoading` has been renamed to `isPending`
  • Loading branch information
g3r4n authored May 13, 2023
1 parent 9ee983a commit 30cee3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/react/guides/dependent-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ The `projects` query will start in:

```tsx
status: 'pending'
isLoading: false
isPending: false
fetchStatus: 'idle'
```

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

```tsx
status: 'pending'
isLoading: true
isPending: true
fetchStatus: 'fetching'
```

Once we have the projects, it will go to:

```tsx
status: 'success'
isLoading: false
isPending: false
fetchStatus: 'idle'
```

0 comments on commit 30cee3a

Please sign in to comment.