fabulous-dev / Fabulous

Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
https://fabulous.dev
Apache License 2.0
1.13k stars 122 forks source link

Add Fabulous.MauiControls mapping to Microsoft.Maui.Controls #985

Closed TimLariviere closed 1 year ago

TimLariviere commented 1 year ago

In #919, I'm trying to add Fabulous.Maui that maps directly to Microsoft.Maui.Core which would let us skip all the MVVM stuff. Unfortunately, the Maui team didn't had time to migrate everything to their new architecture so Microsoft.Maui.Core is missing some crucial features like NavigationPage.

I believe the situation will get better by next year with .NET 8.

Meanwhile, I'm still adding support for Maui by targeting the MVVM implementation Microsoft.Maui.Controls, which is mainly a renaming of Xamarin.Forms.

Right now, I got Fabulous.MauiControls to build and got the samples HelloWorld, CounterApp and TicTacToe to run.

edgarfgp commented 1 year ago

This is awesome :) . Should we merge as it is and raise PRs to the preview branch ?

TimLariviere commented 1 year ago

Yes, let's merge it and improve it when migrating existing projects :)