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
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
-
Motivation
Currently, caches components unconditionally when used with . This creates suboptimal user experiences in common scenarios:
Problem Case:
User loads a paginated list (Page 1)
Navigates to Page 3 → Details page via router.push()
Presses browser back button → Correctly sees cached Page 3
Proposed Solution
Add a
popstate-only
modifier to<keep-alive>
:Beta Was this translation helpful? Give feedback.
All reactions