mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add link to Next.js docs for shallow routing
This commit is contained in:
@@ -46,5 +46,6 @@ something with the code value.
|
|||||||
|
|
||||||
This is accomplished by destructuring the target query param apart from the
|
This is accomplished by destructuring the target query param apart from the
|
||||||
rest, constructing a new router path object with the rest of the query params,
|
rest, constructing a new router path object with the rest of the query params,
|
||||||
and then pushing that route update _shallowly_ so that data doesn't get
|
and then [pushing that route update
|
||||||
refetched.
|
_shallowly_](https://nextjs.org/docs/routing/shallow-routing) so that data
|
||||||
|
doesn't get refetched.
|
||||||
|
|||||||
Reference in New Issue
Block a user