I have a global store which holds list of messages. I'd like to clear the messages when route changes. How can I achieve this? I checked `createRouteAction` but it seems it is not automatically called when navigating.
I have a global store which holds list of messages. I'd like to clear the messages when route changes.
How can I achieve this? I checked
createRouteActionbut it seems it is not automatically called when navigating.