Skip to content

MAUI CommunityToolkit differences #146

Answered by brminnick
symbiogenesis asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure if you are aware of the irony of calling the Community Toolkit a competitor to AsyncAwaitBestPractices. It's not a competitor, rather it's another of my open source projects.

I'm the lead developer on the .NET MAUI Community Toolkit and I contributed AsyncAwaitBestPractices's AsyncValueCommand implementation to the Xamarin Community Toolkit.

To answer your question, the path forward for .NET MAUI developers is to use CommunityToolkit.MVVM's RelayCommand: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/relaycommand

It's the most performant implementation of an Async Command and its implementation using Source Generators will save you from writing much…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brminnick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants