Implementing an Elmish.MAUI library

Hello everyone,
I have been using the Elmish.WPF library for building a desktop application for my current startup. Now, it looks like we will need more mobile solutions including Windows tablets, as well as iOS and Android apps. The obvious choice would be .Net MAUI, but as far as I know, there is no F# + Elmish implementation for MAUI available. Since my development experience with Elmish.WPF has been so positive, I would like to find out what it would take to build my own Elmish.MAUI library? I consider myself a competent programmer, but I have never done any library or framework development before. Any thoughts or inspiration would be greatly appreciated. I plan to share the library with the community.

Kind regards

Welcome Eurochxir!

Did you check out Fabulous.MauiControls? I’ve never built a UI app with F#, but I’m under the impression that Fabulous is the main idiomatic F# library for (non-web) UI, and that it supports MVU (what Elm does), and that it now supports MAUI.

Checkout Avalonia.FuncUI, it is great. It provides a light MVU wrapper for Avalonia. Avalonia is cross platform, though the WASM target is a bit lacking currently.

There is also Platform Uno in the same space, but I have alway found Avalonias approach better.

1 Like