Next.js Discord

Discord Forum

Update URL without fetching data

Unanswered
California Gnatcatcher posted this in #help-forum
Open in Discord
California GnatcatcherOP
Is it possible to update the URL without actually fetching anything from the backend (just a pure update of the URL with no side effects such as loading the page)?

I am using history.pushState but seems like Next is listening to these updates and fetching data in the background

(Preferably I would also be able to use the back/forward buttons without data fetching)

0 Replies