custom teams App window.addEventListener not triggered

the below code work ffine when the browser reloaded , but not on the teams reload tab, 
     useEffect(() => {
        return () => {
      }, [data]) 
but when i reload the entire browser teams tab it works fine , but not on click of team reload tab .
i wanted to know is their way to listen to teams reload tab, or when we move to any of the other team app like chat or team from the personal tan 
2 Replies
Hi @Umag98, we are working on it , we will update you soon.
best response confirmed by Umag98 (Contributor)