next-routes icon indicating copy to clipboard operation
next-routes copied to clipboard

Is there any function like Routes.goback () to go back or pop a route ?

Open PManager1 opened this issue 6 years ago • 1 comments

PManager1 avatar May 22 '18 22:05 PManager1

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.

reergymerej avatar Oct 22 '18 17:10 reergymerej