MVU, ReactiveUI and MVVM in .Net Maui

paramjit 286 Reputation points
2021-07-22T12:08:53.563+00:00

The maui team is integrating MVVM, ReactiveUI and MVU in the framework. I know that ReactiveUI is also a MVVM framework. But still it is different than the Xamarin.Forms MVVM. What are the features of each one of them? What are the pros and cons of using each one of them?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,443 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. ToolmakerSteve 6 Reputation points
    2021-10-19T01:45:55.86+00:00

    MVU is an alternative to MVVM. You pick one or the other. Its too early to have an opinion on details of MVU implementation in MAUI. MVU works great on other top platforms, specifically React JS and Flutter.

    My take: Some devs find MVU to feel more natural than MVVM. My personal experience is that Data Binding (MVVM) works great on a small scale, but doesn't scale as well as expected, given complex custom views. (YMMV; Some people have a more positive experience.) Can't really make a good pros/cons list, until we have both in one environment - right now its more of a discussion of whether Flutter is a more productive development environment than Xamarin Forms. Too many parts to that topic, to conclude anything re MVU itself. I personally doubt I'll have a good feel for that until maybe April 2022.

    ReactiveUI = MVVM + "Reactive Programming". It seems to be something you have to try out, see if it feels right for you. So far, I've skipped it. Best way to get a feel today, would be to use the Xamarin.Forms implementation of ReactiveUI. It should be very similar to the MAUI ReactiveUI API.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.