self.$router.refreshPreviousPage is not a function

Hi there,

is refreshPreviousPage still a function in V4 as I keep getting an error saying that the function does not exist.

I have a View -> Page1 -> Page2

on a particular event on page 2 (notification received) I am trying to refresh page1 to update its virtual list. Currently I am using data-ignore-cache=“true” data-force=“true” on the back button but that can easily be overridden by swiping back with the gesture in which case the list does not refresh.

Apparently there is no such method https://framework7.io/docs/view.html#router-api-methods-properties

Do you have any suggestions as to how I could achieve what I am trying to do?

Subscribe to required event on first page’s page:init and do the update