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?

3 Replies

Avatar
Peterbald
Have you found the solution?
Avatar
Boreal Chickadee
joining