1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Add link to Next.js docs for shallow routing

This commit is contained in:
jbranchaud
2020-12-16 13:21:00 -06:00
parent 822b7a433b
commit 7ac50b6d61

View File

@@ -46,5 +46,6 @@ something with the code value.
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,
and then pushing that route update _shallowly_ so that data doesn't get
refetched.
and then [pushing that route update
_shallowly_](https://nextjs.org/docs/routing/shallow-routing) so that data
doesn't get refetched.