clear-react-router 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -418,8 +418,6 @@ You can also invalidate any registered route by passing its pathname:
|
|
|
418
418
|
const invalidate = useInvalidate();
|
|
419
419
|
|
|
420
420
|
await invalidate('/posts');
|
|
421
|
-
await invalidate('/posts/[id]');
|
|
422
|
-
await invalidate('/posts/[id]/comment/[id]');
|
|
423
421
|
```
|
|
424
422
|
|
|
425
423
|
The route does not need to be currently active. Its cache will be marked as stale, and the next time it is visited, `beforeLoad` and `loader` will run again.
|