Skip to content

Commit

Permalink
docs: remove unnecessary parentheses (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
akib22 authored Jan 9, 2021
1 parent 361935a commit 41f46ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/guides/query-invalidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ queryClient.invalidateQueries('todos')
When a query is invalidated with `invalidateQueries`, two things happen:

- It is marked as stale. This stale state overrides any `staleTime` configurations being used in `useQuery` or related hooks
- If the query is currently being rendered via `useQuery` or related hooks), it will also be refetched in the background
- If the query is currently being rendered via `useQuery` or related hooks, it will also be refetched in the background

## Query Matching with `invalidateQueries`

Expand Down

1 comment on commit 41f46ad

@vercel
Copy link

@vercel vercel bot commented on 41f46ad Jan 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.