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
Buddy
Buddy•7mo ago
No And that coding style sucks anyway, however there may be libraries for WPF / Avalonia that makes it possible
Denis
Denis•7mo ago
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/
Denis
Denis•7mo ago
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.
Thing from Human Resources
:SCcrying: XML is annoying :SCgetoutofmyhead: If C# implemented an MVU system it would probably be the goat
leowest
leowest•7mo ago
but has worked for more than a decade now
Thing from Human Resources
That doesn't make it less annoying :SCcrying:
leowest
leowest•7mo ago
annoying to you perhaps 😉
Thing from Human Resources
Yes!!! That's why I switched to Jetpack compose for GUI
leowest
leowest•7mo ago
either way I think MAUI was supposed to also have MVU counterpart
Thing from Human Resources
They will probably implement MVU in the future anyways It's only a matter of time :SCcutie:
Buddy
Buddy•7mo ago
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
leowest
leowest•7mo ago
@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.
leowest
leowest•7mo ago
Did not knew they renamed the feature itself into a separated thing but I guess it makes sense
Thing from Human Resources
yippieee
Want results from more Discord servers?
Add your server