What's new in Version 4
Describes the list of changes present in Version 3 of MauiReactor
Version 4 of MauiReactor targets MAUI .NET 10, and even though it is highly compatible with the previous version, targeting .NET 9, it has some notable breaking changes on some tooling (hot-reload).
Hot-reload changes
Hot-reload is now available with a separate package Reactor.Maui.HotReload. Be sure to reference the package in your project; otherwise, the EnableMauiReactorHotReload() won't compile.
Add the call to UseMauiReactorHotReload() call in program.cs :
var builder = MauiApp.CreateBuilder();
builder
.UseMauiReactorApp<HomePage>()
#if DEBUG
.UseMauiReactorHotReload();
#endif
...;
In the project definition, add the following lines:
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.10" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.0" />
<PackageReference Include="Reactor.Maui" Version="4.0.15" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)'=='Debug'">
<PackageReference Include="Reactor.Maui.HotReload" Version="4.0.15" />
</ItemGroup>Last updated