layout | permalink | title | path |
---|---|---|---|
post |
/blazor-state-management-basics/ |
Blazor State Management Basics |
2019-05-10-state-management-basics.md |
On this episode of Blazor StateHasChanged we learn about Blazor application state management. In this demo we build a simple todo list with several types of state management using: component state, cascading state, and application state.
<iframe width="560" height="315" src="https://www.youtube.com/embed/1o-_78ONM1s" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>Much of the content from Build was recorded and is available on demand. This includes a fantastic session by Daniel Roth
https://mybuild.techcommunity.microsoft.com/sessions
This demo application shows how Blazor's component model permits us to easily encapsulate code, UI and behaviours in reusable modules, and even load components dynamically in code.
A demo is hosted at https://blazordynamiclist.azurewebsites.net
Github: https://github.com/conficient/BlazorDynamicList
Chris Sainty writes: We're going to have a run through of what Sass is and why you might want to use it. And then we're going to have a look at how we can get it integrated into a Blazor application.
https://chrissainty.com/get-some-sass-into-your-blazor-app/
This is article series by Louis Hendricks and the focus of this series is applying the Model-View-ViewModel pattern to client side Blazor.
https://www.telerik.com/blogs/why-blazor-grid-templates-will-make-you-question-everything
In this article Michael Washington compares the structure and the differences between the client side version of the Blazor Blazing Pizza example and the server side version.
The primary difference is that the server side version of Blazor renders everything on the server. While this can provide for faster application start up (the user does not need to download all the code to their web browser), it has to manage a lot of traffic between the web browser and the server.
If you're looking to learn more about Blazor please check out the videos I produce each week at BlazorVideos.com (YouTube).