Cascading values and parameters provide a convenient way to share data between components in Blazor apps. However, this video presents sharing application state by using the cascading value(s).

  1. Create an example pagination component.
  2. Create a “Display Comments” component and consume the pagination component above.
  3. Then, implement sharing application state functionality by using the “CascadingValue” component in Blazor apps.

Source Codes:
https://github.com/Muhtar-Qong/BlazorWASMStateManagement

#blazor #webassembly

Blazor WebAssembly | Share Application State By Using Cascading Value #13
1.95 GEEK