← Back
James Montemagno June 2, 2022 1m

Delete Your MVVM Code #Shorts

Summary

The transcript discusses simplifying MVVM (Model-View-ViewModel) boilerplate code using the .NET Community Toolkit's MVVM version 8.0 preview, which introduces source generation for property change notifications. The speaker demonstrates how developers can replace traditional property implementation and notification patterns with simple attributes like [ObservableProperty] and [NotifyCanExecuteChangedFor]. The practical takeaway is that developers can dramatically reduce code complexity by leveraging source generation, eliminating manual property change notification implementation and reducing overall code verbosity.

View original episode ↗