New Features
skipAnimationOnBack - Platform-aware Back Navigation Skip
Skip transition animations on back navigation for native-like experience. Uses history.state with popstate event for reliable navigation direction detection.
// Skip on iOS only (default)
skipAnimationOnBack: ['ios']
// Skip on iOS and Android
skipAnimationOnBack: ['ios', 'android']
// Skip on all platforms
skipAnimationOnBack: ['all']
// Always run animations
skipAnimationOnBack: []Breaking Change: skipOnIosSwipe is now deprecated. It still works but shows a console warning. Please migrate to skipAnimationOnBack.
scrollResetPatterns - Selective Scroll Reset
Always reset scroll position to top for routes matching specified patterns. Works with experimentalPreserveScroll option.
const config = {
experimentalPreserveScroll: true,
scrollResetPatterns: ['/posts/*', '/article/*'],
};When navigating to /posts/123, scroll will always start at top regardless of previous scroll position.
Bugfix: Wildcard pattern matching improved - /posts/* now correctly matches only /posts/xxx, not /posts or /posts/ itself.