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
Thank you but this is not a memory leak per se, if you keep navigating and pushing entries into the history, it's normal for it to grow. It would be problematic if it was cleared.
In practice, this will never be a problem because one would need to repeat the action millions of times.
That being said, if you have a reasonable PR proposal to clear them out when unused, I will be very happy to review it
Version
3.4.9
Reproduction link
https://hezedu.github.io/SomethingBoring/vue-router-positionstore-memory-leak/index.html
Steps to reproduce
I read the source code and found that positionStore has only set, not deleted.
What is expected?
The data in positionStore should be cleared on history.push() or history.replace().
What is actually happening?
The memory haspmap:positionStore will continue to grow.
The text was updated successfully, but these errors were encountered: