From b2714d2227fb657c26280510e8ad1a3f089f9244 Mon Sep 17 00:00:00 2001 From: Damian Sowa Date: Tue, 24 Sep 2024 13:06:11 +0200 Subject: [PATCH 1/4] Update 04-linking-and-navigating.mdx --- .../01-routing/04-linking-and-navigating.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx index ef8ee4c9973d1..afff0b3322aff 100644 --- a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx +++ b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx @@ -263,7 +263,7 @@ Learn more about how the [Router Cache](/docs/app/building-your-application/cach Partial rendering means only the route segments that change on navigation re-render on the client, and any shared segments are preserved. -For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` and `analytics` pages will be rendered, and the shared `dashboard` layout will be preserved. +For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` and `analytics` pages will be fully rendered (pages will unmount and state will be lost), and the shared `dashboard` layout will be preserved. How partial rendering works Date: Wed, 25 Sep 2024 08:47:35 +0200 Subject: [PATCH 2/4] Update docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx Co-authored-by: JJ Kasper --- .../01-routing/04-linking-and-navigating.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx index afff0b3322aff..8841932174bf8 100644 --- a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx +++ b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx @@ -263,7 +263,7 @@ Learn more about how the [Router Cache](/docs/app/building-your-application/cach Partial rendering means only the route segments that change on navigation re-render on the client, and any shared segments are preserved. -For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` and `analytics` pages will be fully rendered (pages will unmount and state will be lost), and the shared `dashboard` layout will be preserved. +For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` page will be unmounted, the `analytics` page will be mounted with fresh state, and the shared `dashboard` layout will be preserved. How partial rendering works Date: Wed, 2 Oct 2024 09:36:21 +0200 Subject: [PATCH 3/4] Update docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx Co-authored-by: JJ Kasper --- .../01-routing/04-linking-and-navigating.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx index 8841932174bf8..c3cb503ab81fc 100644 --- a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx +++ b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx @@ -263,7 +263,7 @@ Learn more about how the [Router Cache](/docs/app/building-your-application/cach Partial rendering means only the route segments that change on navigation re-render on the client, and any shared segments are preserved. -For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` page will be unmounted, the `analytics` page will be mounted with fresh state, and the shared `dashboard` layout will be preserved. +For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` page will be unmounted, the `analytics` page will be mounted with fresh state, and the shared `dashboard` layout will be preserved. This behavior is also present between two routes on the same dynamic segment e.g. with `/blog/[slug]/page` and navigating from `/blog/first` to `/blog/second`. How partial rendering works Date: Mon, 7 Oct 2024 10:50:11 -0700 Subject: [PATCH 4/4] lint fix --- .../01-routing/04-linking-and-navigating.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx index c3cb503ab81fc..70a5a03bce68c 100644 --- a/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx +++ b/docs/02-app/01-building-your-application/01-routing/04-linking-and-navigating.mdx @@ -263,7 +263,7 @@ Learn more about how the [Router Cache](/docs/app/building-your-application/cach Partial rendering means only the route segments that change on navigation re-render on the client, and any shared segments are preserved. -For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` page will be unmounted, the `analytics` page will be mounted with fresh state, and the shared `dashboard` layout will be preserved. This behavior is also present between two routes on the same dynamic segment e.g. with `/blog/[slug]/page` and navigating from `/blog/first` to `/blog/second`. +For example, when navigating between two sibling routes, `/dashboard/settings` and `/dashboard/analytics`, the `settings` page will be unmounted, the `analytics` page will be mounted with fresh state, and the shared `dashboard` layout will be preserved. This behavior is also present between two routes on the same dynamic segment e.g. with `/blog/[slug]/page` and navigating from `/blog/first` to `/blog/second`.