> For the complete documentation index, see [llms.txt](https://adospace.gitbook.io/mauireactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adospace.gitbook.io/mauireactor/whats-new-in-version-3-1.md).

# What's new in Version 4

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).

{% hint style="info" %}
For an up-to-date list of new features for MauiReactor4, please head to [https://github.com/adospace/reactorui-maui/issues/346](https://github.com/adospace/reactorui-maui/issues/263)
{% endhint %}

## 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` :

<pre class="language-csharp" data-line-numbers><code class="lang-csharp">var builder = MauiApp.CreateBuilder();
builder
    .UseMauiReactorApp&#x3C;HomePage>()
<strong>#if DEBUG
</strong><strong>    .UseMauiReactorHotReload();
</strong><strong>#endif
</strong>    ...;

</code></pre>

In the project definition, add the following lines:

<pre class="language-xml" data-line-numbers><code class="lang-xml">	&#x3C;ItemGroup>
		&#x3C;PackageReference Include="Microsoft.Maui.Controls" Version="10.0.10" />
		&#x3C;PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.0" />
<strong>		&#x3C;PackageReference Include="Reactor.Maui" Version="4.0.15" />
</strong>	&#x3C;/ItemGroup>

<strong>	&#x3C;ItemGroup Condition="'$(Configuration)'=='Debug'">
</strong><strong>		&#x3C;PackageReference Include="Reactor.Maui.HotReload" Version="4.0.15" />
</strong><strong>	&#x3C;/ItemGroup>
</strong></code></pre>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://adospace.gitbook.io/mauireactor/whats-new-in-version-3-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
