You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to react/guide/data-loading
"router.invalidate() will force all active routes to reload their loaders immediately and mark every cached route's data as stale."
Does marking the cache as stale mean all data is deleted or does it just mark the keys as stale? I would assume the former but just wanted to make sure as I am not familiar with the cache implementation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
According to react/guide/data-loading
"
router.invalidate()
will force all active routes to reload their loaders immediately and mark every cached route's data as stale."Does marking the cache as stale mean all data is deleted or does it just mark the keys as stale? I would assume the former but just wanted to make sure as I am not familiar with the cache implementation.
Beta Was this translation helpful? Give feedback.
All reactions