/reactorui-maui

MauiReactor is a MVU UI framework built on top of MAUI.

Primary LanguageC#MIT LicenseMIT

MauiReactor

Component-based UI Library built on top of Maui Controls inspired to ReactJs and Flutter

MauiReactor is the successor of ReactorUI for Xamarin-Forms (https://github.com/adospace/reactorui-xamarin)

Build status

MauiReactor Nuget Packages

Nuget

Documentation (WIP)

Introductionary video from Solution1 conference

Setting up MauiReactor from CLI

  1. Install MauiReactor templates Nuget
dotnet new --install Reactor.Maui.TemplatePack
  1. Install MauiReactor hot reload console command Nuget
dotnet tool install -g Reactor.Maui.HotReload
  1. Create a sample project
dotnet new maui-reactor-startup -o my-new-project
cd .\my-new-project\
  1. Build & run the project (emulator or device must be running and configured)
dotnet build -t:Run -f net7.0-android

Under Mac, to target an iOS device/emulator, issue a command like this:

dotnet build -t:Run /p:_DeviceName=:v2:udid=<device_id> -f net7.0-ios

where the device id comes from this list:

xcrun simctl list
  1. Hot-reload console
dotnet-maui-reactor -f [net7.0-android|net7.0-ios|...]
  1. Edits to code should be hotreloaded by the application --> Enjoy!

All Packages