RabstackQuery.DevTools.Maui
0.3.0
dotnet add package RabstackQuery.DevTools.Maui --version 0.3.0
NuGet\Install-Package RabstackQuery.DevTools.Maui -Version 0.3.0
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="RabstackQuery.DevTools.Maui" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RabstackQuery.DevTools.Maui" Version="0.3.0" />
<PackageReference Include="RabstackQuery.DevTools.Maui" />
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 RabstackQuery.DevTools.Maui --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RabstackQuery.DevTools.Maui, 0.3.0"
#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 RabstackQuery.DevTools.Maui@0.3.0
#: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=RabstackQuery.DevTools.Maui&version=0.3.0
#tool nuget:?package=RabstackQuery.DevTools.Maui&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RabStack Query DevTools for MAUI
A floating debug overlay for .NET MAUI apps that provides real-time visibility into RabStack Query cache state, similar to TanStack Query DevTools.
Installation
dotnet add package RabstackQuery.DevTools.Maui
Supported Platforms
- Android (API 21+)
- iOS (15.0+)
- Mac Catalyst (15.0+)
- Windows (10.0.17763+)
Usage
Attach DevTools to a window, typically in your App class:
using RabstackQuery.DevTools.Maui;
public class App : Application
{
private readonly QueryClient _queryClient;
public App(QueryClient queryClient) => _queryClient = queryClient;
protected override Window CreateWindow(IActivationState? activationState)
{
var window = new Window(new MainPage());
#if DEBUG
window.UseRabstackQueryDevTools(_queryClient);
#endif
return window;
}
}
With custom options:
window.UseRabstackQueryDevTools(_queryClient, new DevToolsOptions
{
DataFormatter = data => JsonSerializer.Serialize(data, AppJsonContext.Default.Options)
});
Features
- Floating "RQ" button in the bottom-right corner with a badge showing query count
- Badge color turns red when any query is in error state
- Modal inspector opens on tap with full query/mutation list, search, sort, and detail views
- Theme-aware adapts to light and dark mode
- Window lifecycle the observer is automatically disposed when the window is destroyed
Documentation
See the GitHub repository for full documentation, architecture guide, and examples.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.51)
- Microsoft.Maui.Essentials (>= 10.0.51)
- RabstackQuery (>= 0.3.0)
- RabstackQuery.DevTools (>= 0.3.0)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.51)
- Microsoft.Maui.Essentials (>= 10.0.51)
- RabstackQuery (>= 0.3.0)
- RabstackQuery.DevTools (>= 0.3.0)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.51)
- Microsoft.Maui.Essentials (>= 10.0.51)
- RabstackQuery (>= 0.3.0)
- RabstackQuery.DevTools (>= 0.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.