Forum Discussion
[Question] Notification and keep personal app state
avillanueva What I've found in building personal apps is that this cannot be done without some server side caching of state. There is nothing in MS teams that would help with this. Your application is being rendered in an IFrame so MS teams has no real storage or state management for you. It is much more noticeable when you jump from Tab to Tab in a personal app. Basically the application is relaunching again but routed to another route of the same application. My team essentially did away with the Tabs because we lost all Global State and had to regenerate it again when the application reloaded. We switched to an In Application navigation system instead of tabs.
I suspect that if you cannot get around the refresh issue but you could possibly track state on the application and when the application refreshes, make sure you route to the previously visited route and load all the 'cached' state.
Hope it helps