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 }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Is it a normal behaviour for an observer set on routeData to fire after navigating away from an element?
I use the stock PSK, with iron-pages. I have created two pages: A, B - each having app-location and an observer set for routeData so when this changes, data gets fetched from the server.
The issue is, page A starts making requests when I navigate to page B.
Should I somehow unregister the observers manually?
Expected outcome
Observer set in page A on routeData should be removed once the user navigates to page B.