How to hide back button?
What if the proper way to hide a back button?
I have a back button which calls
router.back()
but I want to hide this button if router.back()
would go out of the app. (For example, if you open a new tab and then go to the URL of the app, router.back()
will work until it will go back to the new tab).1 Reply
harsh-harlequin•11mo ago
this does not exist yet. we would need to record the history separately from browser history.
can you please create a GitHub discussion feature request?