next-routes
next-routes copied to clipboard
Is there any function like Routes.goback () to go back or pop a route ?
This shows how some of the core methods have been wrapped. There is no core method for pop
.
The underlying next/router is exposed, though, so you can simply call Router.back
to go back to the previous route.