dotnet / dotnet/aspnetcore

[Blazor] Cascading Parameter that transfers across render boundaries

Open
#51,969 3 comments 7 reactions 1 assignee Claimed by @dariatiurina View on GitHub
area-blazor copilot-candidate enhancement Pillar: Complete Blazor Web Priority:1
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

This is a common point of confusion for customers, so we could add a new `SerializableCascadingValue` component or similar that is able to flow across component boundaries.

With the requirement that the value needs to be JSON serializable and that you won't (probably) get updates (it's a 1-time thing, but maybe we can update via enhanced navigations).

The internal component we use for the render boundary can capture the serializable value providers in the hierarchy, serialize those, and expose them once it begins rendering interactively.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.