#Going back to previous route
4 messages · Page 1 of 1 (latest)
@finite sable You can try something like
let router = useRouter();
router.history.back();
Yes, this the recommended way.
Is there a way to get the info of this previous route so that we can pass it to the to prop of a <Link> component, or to be able to use it in different places?