Skip to content

Commit 761a8e3

Browse files
author
Ari Bouius
committed
Modify text on README
1 parent 50320e1 commit 761a8e3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,13 @@ const [mutation] = useMutation(['todos', 1], {
330330
})
331331
```
332332

333-
To ignore invalidation, even with the same type as your mutation, just set `false` for the `invalidate` option:
333+
To prevent any invalidation from taking place, pass false to the `invalidate` option.
334334
```JavaScript
335335
const [mutation] = useMutation(['todos', 1], {
336336
invalidate: false
337337
})
338338
```
339339

340-
This way the list of "todos" won't be updated after a mutation.
341-
342340
## Manual Requests
343341
Manual API requests can be performed through the client instance, which can be obtained with the [useClient](#useClient) hook
344342

0 commit comments

Comments
 (0)