11- Blazor WebAssembly State Management between components | Blazor WASM Outlook Calendar Full App

preview_player
Показать описание
In this video we will learn how we can notify other components to re-render themselves after a change happen in a child or sister component.
My solution to create a static event and subscribe to it from interested components and call StateHasChanged() method when you want to render the component again

GitHub Repository:

My official website:

GitHub:

Twitter:

Facebook (Personal):

Facebook (Page):

Instagram:
Рекомендации по теме
Комментарии
Автор

This is a really nice example of how to use state management in both WASM and Server-side blazor. Thanks so much for sharing your implementation!

SamOnSTEM
Автор

Hey! Awesome video. Don't you need to unsubscribe from the event you subscribed to when the component is disposed?

christiankhalil
Автор

Hi Moz,
Did you try
[Parameter]
public EventCallback<DayEvent> OnEventAdded { get; set; }. On Child Component. than impliment the event on the parent Component.

hassanesilverlight
welcome to shbcf.ru