Reactor.Maui.HotReload 5.0.0-beta.1

This is a prerelease version of Reactor.Maui.HotReload.
dotnet add package Reactor.Maui.HotReload --version 5.0.0-beta.1
                    
NuGet\Install-Package Reactor.Maui.HotReload -Version 5.0.0-beta.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Reactor.Maui.HotReload" Version="5.0.0-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Reactor.Maui.HotReload" Version="5.0.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="Reactor.Maui.HotReload" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Reactor.Maui.HotReload --version 5.0.0-beta.1
                    
#r "nuget: Reactor.Maui.HotReload, 5.0.0-beta.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Reactor.Maui.HotReload@5.0.0-beta.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Reactor.Maui.HotReload&version=5.0.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Reactor.Maui.HotReload&version=5.0.0-beta.1&prerelease
                    
Install as a Cake Tool

MauiReactor

Component-based UI Library built on top of .NET MAUI

Nuget

MauiReactor is .NET library written on top of .NET MAUI that allows you to write applications in pure C# using an MVU approach.

This is the classic Counter app in MauiReactor:

class CounterPageState
{
    public int Counter { get; set; }
}

class CounterPage : Component<CounterPageState>
{
    public override VisualNode Render()
        => ContentPage("Counter Sample",
            VStack(
                Label($"Counter: {State.Counter}"),

                Button("Click To Increment", () =>
                    SetState(s => s.Counter++))
            )
            .Spacing(10)
            .Center()
        );
    
}

Versions

Version .NET / MAUI Status Branch
MauiReactor 5 .NET 11 / MAUI 11 Beta main
MauiReactor 4 .NET 10 / MAUI 10 Stable, maintained version-4
What's new in MauiReactor 5 (beta)
  • .NET 11 / MAUI 11: apps run on CoreCLR on Android, iOS and Mac Catalyst. The minimum Android version is now API 24 (Android 7.0), as required by .NET 11.
  • Hooks: a new, lighter way to write components. There's no state class and no SetState round trip:
    class CounterPage : HookComponent
    {
        public override VisualNode Render()
        {
            var (counter, setCounter) = UseState(0);
    
            return ContentPage("Counter Sample",
                VStack(
                    Label($"Counter: {counter}"),
                    Button("Click To Increment", () => setCounter(counter + 1))
                )
                .Spacing(10)
                .Center()
            );
        }
    }
    
    Also available: UseReducer, UseRef, UseEffect and UseMemo. Hook state is preserved across hot reload, and a built-in analyzer reports hooks that are called conditionally, in loops or outside Render(). Component<TState> still works as before.
  • New MAUI 11 features: LongPressGestureRecognizer, badges on Shell items and toolbar items, BoxView.Fill, Window.StatusBarTheme, SwipeItem text/icon colors, and the new Maps clustering, styling and click events.
  • Keyed children: WithKey(...) is now honoured when a list is reordered, so component state and native controls move with their item.

⚠️ iOS / Mac Catalyst navigation needs testing. MAUI 11 moved NavigationPage, TabbedPage and FlyoutPage to a new handler architecture on iOS and Mac Catalyst, and Appearing now fires before a page is pushed. MauiReactor's navigation relies on these events, so please test push/pop, modal navigation and Shell navigation on iOS and open an issue if anything behaves differently from MauiReactor 4.

Setting up MauiReactor from CLI

The steps below use MauiReactor 5 (beta). For MauiReactor 4, omit the version/--prerelease options and use net10.0-* target frameworks.

  1. Install MauiReactor templates
dotnet new install Reactor.Maui.TemplatePack::5.0.0-beta.1
  1. Install the MauiReactor hot reload console command (its version should match the Reactor.Maui package used by your app)
dotnet tool install -g Reactor.Maui.HotReloadConsole --prerelease

If you already have it installed, update it with:

dotnet tool update -g Reactor.Maui.HotReloadConsole --prerelease
  1. Create a sample project
dotnet new maui-reactor-startup -o my-new-project

and move inside the new project folder

cd .\my-new-project\
  1. Build & run the project (emulator or device must be running and configured)
dotnet build -t:Run -f net11.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 net11.0-ios

where the device id comes from this list:

xcrun simctl list
  1. Hot-reload console (in a different shell)
dotnet-maui-reactor -f [net11.0-android|net11.0-ios|...]
  1. Edits to code should be hot-reloaded by the application --> Enjoy!

Documentation

Documentation

Videos

Introductionary video from Solution1 conference YouTube Video Views

Interview with James Montemagno YouTube Video Views

Getting started video from Gerald Versluis YouTube Video Views

MauiReactor .NET MAUI UI July - 2024 Contribution - Task Manager App YouTube Video Views

Sample Applications

Main Samples Repository

Rive App

KeeMind App

Samples and test application

Star history

Star History Chart

How to contribute

  • Star the repository!
  • File an issue (Issues)
  • Fix bugs, add features, or improve the code with PRs
  • Help with the documentation (Documentation Repo)
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0-beta.1 58 11/13/2026
4.0.19 242 10/24/2026
4.0.18 1,380 4/28/2026
4.0.17 226 4/12/2026
4.0.16 689 2/17/2026
4.0.15 324 2/17/2026
4.0.14 170 2/17/2026
4.0.13 207 2/5/2026
4.0.12-beta 145 1/25/2026
4.0.11-beta 168 1/5/2026
4.0.10-beta 167 12/29/2025
4.0.9-beta 181 12/13/2025
4.0.8-beta 178 12/12/2025
4.0.7-beta 173 12/12/2025
4.0.6-beta 165 12/12/2025
4.0.5-beta 171 12/12/2025
4.0.4-beta 181 12/11/2025
4.0.3-beta 463 11/30/2025
3.0.40 431 12/17/2025
0.0.1-beta 476 11/30/2025
Loading failed