Рет қаралды 7,812
State handling is a common problem. It doesn't matter what kind of application; sooner or later, you want the different parts of your application to talk to each other.
In this video, I want to show you a simple way for parent-child communication, an option for component hierarchies, and a more complex solution for advanced state handling in Blazor web applications.
Event Callbacks (Calling a Method on a Parent Component)
Cascading Values (Building a Component Hierarchy)
State Container (Advanced App State Handling)
00:00 Introduction
00:37 Event Callbacks
02:34 Cascading Values
04:17 State Container
06:52 Conclusion
🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
claudiobernasconi.ch/dotnet-c...
📌 .NET Developer Roadmap
claudiobernasconi.ch/learn-do...
📌 KZbin Playlists:
The FREE Blazor Crash Course: • The FREE Blazor Crash ...
C# Programming: • How to Create Modern C...
📋 Source Code
github.com/claudiobernasconi/...
✍ Video Links
docs.microsoft.com/en-us/aspn...
chrissainty.com/3-ways-to-com...
✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 claudiobernasconi.ch/Subscribe
🚀 CONNECT & SUPPORT
Twitter: / chbernasconic
Blog: claudiobernasconi.ch
Newsletter: claudiobernasconi.ch/newsletter
CREDITS
🎵 www.bensound.com/
* Affiliate Link: I earn a small commission at no additional cost