From 05518ae10f500532f3f89dc448760e07a076ba3c Mon Sep 17 00:00:00 2001
From: Luke Latham <1622880+guardrex@users.noreply.github.com>
Date: Tue, 1 Nov 2022 07:48:12 -0500
Subject: [PATCH] Cross-link cascading values/params topic
---
aspnetcore/blazor/state-management.md | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/aspnetcore/blazor/state-management.md b/aspnetcore/blazor/state-management.md
index 48238f993860..97b9e56f871b 100644
--- a/aspnetcore/blazor/state-management.md
+++ b/aspnetcore/blazor/state-management.md
@@ -446,6 +446,11 @@ Generally, `sessionStorage` is safer to use. `sessionStorage` avoids the risk th
> [!WARNING]
> Users may view or tamper with the data stored in `localStorage` and `sessionStorage`.
+When implementing custom browser state storage, a useful approach is to adopt [cascading values and parameters](xref:blazor/components/cascading-values-and-parameters):
+
+* To consume state across many components.
+* If there's just one top-level state object to persist.
+
In-memory state container service
[!INCLUDE[](~/blazor/includes/state-container.md)]
@@ -886,6 +891,11 @@ Generally, `sessionStorage` is safer to use. `sessionStorage` avoids the risk th
> [!WARNING]
> Users may view or tamper with the data stored in `localStorage` and `sessionStorage`.
+When implementing custom browser state storage, a useful approach is to adopt [cascading values and parameters](xref:blazor/components/cascading-values-and-parameters):
+
+* To consume state across many components.
+* If there's just one top-level state object to persist.
+
In-memory state container service
[!INCLUDE[](~/blazor/includes/state-container.md)]
@@ -1341,6 +1351,11 @@ Generally, `sessionStorage` is safer to use. `sessionStorage` avoids the risk th
> [!WARNING]
> Users may view or tamper with the data stored in `localStorage` and `sessionStorage`.
+When implementing custom browser state storage, a useful approach is to adopt [cascading values and parameters](xref:blazor/components/cascading-values-and-parameters):
+
+* To consume state across many components.
+* If there's just one top-level state object to persist.
+
In-memory state container service
[!INCLUDE[](~/blazor/includes/state-container.md)]