Does C# have any MVU in terms in of Application/Web development?
I'm talking about writing up GUI or Web stuff in the style of things like React or Jetpack compose where you create components via code rather than creating the UI and then binding values to it
19 Replies
No
And that coding style sucks anyway, however there may be libraries for WPF / Avalonia that makes it possible
There is something like that via open source projects. Not sure if specifically for C#, but surely for F# where you design your components in an Elm-like way. I think it is fable: https://fable.io/
There's also https://github.com/elmish/Elmish.WPF/tree/master
Not sure if that is what you are looking for
GitHub
GitHub - elmish/Elmish.WPF: Static WPF views for elmish programs
Static WPF views for elmish programs. Contribute to elmish/Elmish.WPF development by creating an account on GitHub.
:SCcrying:
XML is annoying :SCgetoutofmyhead:
If C# implemented an MVU system it would probably be the goat
but has worked for more than a decade now
That doesn't make it less annoying :SCcrying:
annoying to you perhaps 😉
Yes!!!
That's why I switched to Jetpack compose for GUI
either way I think MAUI was supposed to also have MVU counterpart
They will probably implement MVU in the future anyways
It's only a matter of time
:SCcutie:
They wont
And is code-hell
I can easily prototype an app in less than 5 minutes with XAML, Bindings, MVVM and MVVM Toolkit.
I bet you'd have spent more time crafting a single component in that time with MVU
@Fabio from Human Resources there u go https://github.com/dotnet/Comet
GitHub
GitHub - dotnet/Comet: Comet is an MVU UIToolkit written in C#
Comet is an MVU UIToolkit written in C#. Contribute to dotnet/Comet development by creating an account on GitHub.
Did not knew they renamed the feature itself into a separated thing but I guess it makes sense
yippieee