Next.js Discord

Discord Forum

router.replace option shallow

Unanswered
Serengeti posted this in #help-forum
Open in Discord
Avatar
SerengetiOP
the shallow option only doesn't allow the triggers: getStaticProps, getServerSideProps or getInitialProps.
Is there a way to only change the url but to NOT alter the page nor rerender?

1 Reply

Avatar
Peterbald
Have you found the solution?