From 7ac50b6d618552cbd5c0298ac88ddaff26983b20 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Wed, 16 Dec 2020 13:21:00 -0600 Subject: [PATCH] Add link to Next.js docs for shallow routing --- nextjs/remove-a-query-param-from-the-url.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nextjs/remove-a-query-param-from-the-url.md b/nextjs/remove-a-query-param-from-the-url.md index e9d0514..f53be9c 100644 --- a/nextjs/remove-a-query-param-from-the-url.md +++ b/nextjs/remove-a-query-param-from-the-url.md @@ -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.