Is it possible in next/router to pass some additional data to the next route with router.push
?
For example,
router.push('/my-route', {
custom: {
displayError: true
}
});
Obviously, I added that custom
, but that's the behaviour I want.