DEV Community

Discussion on: Is there any way to detect if a user "can go back" in PWAs (desktop PWA most specifically)

Collapse
 
jaakidup profile image
Jaaki

Right now for this issue of deciding whether a user can go back, I essentially hide the back button when the current route is "/" (root)
As I'm assuming the user enters via the root route and then navs forwards, this seems to work.