Skill / SKILL.md

Coordinate Components

managedcode/dotnet-skills

Share state between components that don't have a direct parent-child parameter relationship, using cascading values, scoped services with change events, or CascadingValueSource via DI. USE WHEN the user needs a CascadingParameter or CascadingValue that works across render mode boundaries, a shopping cart or notification count accessible from multiple pages, a theme or user preference cascaded app-wide, or when components in different parts of the tree must react when shared data changes. Also USE WHEN cascading values aren't reaching interactive children in per-page interactivity mode, or when the user needs to understand scoped vs singleton service lifetime for state on Blazor Server. DO NOT USE for direct parent-child parameter passing or EventCallback (see author-component), for persisting state across prerender-to-interactive transitions (see support-prerendering), or for service abstractions for data fetching in Auto/WebAssembly (see fetch-and-send-data).
2 views 527 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Share state between components that don't have a direct parent-child parameter relationship, using cascading values, scoped services with change events, or CascadingValueSource via DI. USE WHEN the user needs a CascadingParameter or CascadingValue that works across render mode boundaries, a shopping cart or notification count accessible from multiple pages, a theme or user preference cascaded app-wide, or when components in different parts of the tree must react when shared data changes. Also USE WHEN cascading values aren't reaching interactive children in per-page interactivity mode, or when the user needs to understand scoped vs singleton service lifetime for state on Blazor Server. DO NOT USE for direct parent-child parameter passing or EventCallback (see author-component), for persisting state across prerender-to-interactive transitions (see support-prerendering), or for service abstractions for data fetching in Auto/WebAssembly (see fetch-and-send-data).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/managedcode/dotnet-skills' skill-source

Use the complete skill-source/catalog/Frameworks/Official-DotNet-Blazor/skills/coordinate-components directory with your client’s skill installer.

  • catalog/Frameworks/Official-DotNet-Blazor/skills/coordinate-components

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory catalog/Frameworks/Official-DotNet-Blazor/skills/coordinate-components

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
65b886c73d7fde90a670b70fdca63684d789f62f0cdd2fbfb31077953bf5616d
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills