Next.js Discord

Discord Forum

Sending users to another page without fetching data?

Answered
archer posted this in #help-forum
Open in Discord
Avatar
Basically title, I don't want to over-explain my situation so yeah. I need to send a user to a specific page even though I already "built" the page via SPA techniques, so if I send the user to the page via router.push it will reload everything causing a flash. So I need to update the URL without changing anything on the page pretty much. What's the best way to do this?
Answered by archer
i just used query params f it
View full answer

1 Reply

Avatar
i just used query params f it
Answer