This component reloads the website if the PWA is unfocused for a special amount of time (2 minutes in default, you can change that in Javascript, simply overwrite the "2" with your favorite amount of time)
Why do I provide such a component?
Sometimes I have the problem, that my PWA is unfocused for e.g. a few hours, then I open it again, try to post or comment something and it isn't working.
After opening the PWA I first have to refresh the page and then I can post something again.
Maybe I am the only one with this problem but if not, this component is for you.
Works for me on Android, iOS not tested yet