TimLariviere / Fabulous-new

Fabulous v2 - Work in progress
https://timothelariviere.com/Fabulous-new/
Other
41 stars 3 forks source link

v2 on top of Uno WinUI #15

Closed xperiandri closed 2 years ago

xperiandri commented 2 years ago

As long as I was managed to run Elmish.Uno on WinUI <TargetFrameworks>net6.0;net6.0-windows10.0.22000.0</TargetFrameworks> And now we can call WinRT API using F#. I think that it is a good idea to propose to build Fabulous v2 on top of WinUI targeting WinUI Uno Platform as it has better performance and is better designed than Xamarin.Forms/MAUI

twop commented 2 years ago

One of the goal of Fabulous to be UI implementation agnostic. E.g. Core has a Reconciler and building blocks to adopt other UI runtimes.

So I think Uno would be an awesome target to have, but unlikely to be feasible to be built by us. Would you be willing to explore that direction?

it has better performance

Is there an article/resource where I can learn more about it? I'm super curious about Uno.

xperiandri commented 2 years ago

Basically, you just use WinUI and it just works on all the other platforms. You can watch Uno Conf with the presentation of v4 today https://unoconf.com/

TimLariviere commented 2 years ago

Like @twop said, the core project of Fabulous is agnostic. Any existing .NET UI framework could be supported with (consequent) work by someone willing to use it.

But in the main repo, since we're only bringing MVU to existing UI frameworks and not implementing a full UI framework with its own types, we'll still target Xamarin.Forms/MAUI. This is because we want to let people move from v1 to v2 without having to change everything.

Feel free to implement a project to add Uno support based on v2 architecture. :)