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
{{ message }}
Repository navigation
Feature Request: Auto-generate unique ID for each route instance #4371
When using the hack method, the propsHistory array is empty on initial page load
The default implementation might work normally, but the hack method disrupts the normal initialization flow
propsHistory Home Return Issue (hack-specific)
When returning to the homepage using the hack method, propsHistory doesn't correctly record the homepage state
The default implementation might have handled this correctly, but the hack method requires additional fixes
I've created a comprehensive PR that implements automatic route ID generation and fixes related history management issues. Here's the complete implementation: #4375
Explanation
These issues are specific to using the hack method (dynamically generating rid). In the default F7 Router implementation, these functions might already work normally. But to be compatible with the hack method, corresponding fix logic needs to be added to the code.
Expected Functionality
Automatically resolve cache conflicts for duplicate URLs
Simplify state management for scroll positions, etc.
No manual handling of route IDs required
Technical Detail:
I use f7-store to create and restore cache based on this id, but encounter problems during deletion. Currently can only use code similar to:
Activity
sanbenedetto commentedon Feb 16, 2026
#4347
nolimits4web commentedon May 19, 2026
This issue was incorrectly closed on 2026-05-19 by a compromised credential (Shai-Hulud npm supply-chain worm). Reopening — apologies for the noise.