Invalidating routes #411
-
|
Situation: Perhaps I'd do it via navigate: const onPostDelete = () => {
router.navigate({to: "/posts", replace: true, invalidate: true});
}Obviously that's not valid API but I can't work out whether the API for this exists? I see there is an API for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It should invalidate all. Bug! |
Beta Was this translation helpful? Give feedback.
It should invalidate all. Bug!