nest-next icon indicating copy to clipboard operation
nest-next copied to clipboard

How to shallow render with next useRouter hooks?

Open highalps opened this issue 3 years ago • 1 comments

i'm trying to pagination with query string (?page=1)

await router.push(`/board?page=${query.page}`, undefined, { shallow: true })

but router.push (also router.replace) with shallow option reload whole application how can i change query string with useRouter without refresh page? (replace table content only from query change)

highalps avatar Feb 16 '22 10:02 highalps

any solutions?

pereslavtsev avatar Nov 23 '22 12:11 pereslavtsev