TimeWarp.State
12.0.0-beta.5
Prefix Reserved
dotnet add package TimeWarp.State --version 12.0.0-beta.5
NuGet\Install-Package TimeWarp.State -Version 12.0.0-beta.5
<PackageReference Include="TimeWarp.State" Version="12.0.0-beta.5" />
<PackageVersion Include="TimeWarp.State" Version="12.0.0-beta.5" />
<PackageReference Include="TimeWarp.State" />
paket add TimeWarp.State --version 12.0.0-beta.5
#r "nuget: TimeWarp.State, 12.0.0-beta.5"
#:package TimeWarp.State@12.0.0-beta.5
#addin nuget:?package=TimeWarp.State&version=12.0.0-beta.5&prerelease
#tool nuget:?package=TimeWarp.State&version=12.0.0-beta.5&prerelease
<img src="https://raw.githubusercontent.com/TimeWarpEngineering/timewarpengineering.github.io/refs/heads/master/images/LogoNoMarginNoShadow.svg" alt="logo" height="120" style="float: right" />
TimeWarp.State
TimeWarp.State (previously known as Blazor-State) is a fully asynchronous state management library for Blazor applications, leveraging the res pipeline to implement the Flux pattern. It handles both Reducers and Effects consistently using async Handlers, simplifying the management of asynchronous operations throughout your app.
By utilizing the TimeWarp.Mediator pipeline, TimeWarp.State enables a flexible, middleware-driven architecture for managing state, similar to the request-processing pipeline in ASP.NET. This approach allows developers to inject custom behaviors, such as logging, validation, and caching, directly into the state management flow.
Hosts consume TimeWarp.Mediator 14-beta via generated AddGeneratedMediator<ClientPipeline>() / named pipelines — not MediatR and not reflection AddMediator().
In addition to the core library, we offer TimeWarp.State.Plus (routing, persistence, action tracking) and TimeWarp.State.Telemetry (OpenTelemetry action spans for the Aspire dashboard or any OTel backend). The persistence sample shows session storage and local storage with [PersistentState]. The render control sample shows ShouldRender, parameter checks, and RegisterRenderTrigger.
Give a Star! ⭐
If you find this project useful, please give it a star. Thanks!
Getting Started
I recommend the tutorial for a step-by-step guide to building a Blazor app with TimeWarp.State.
See full documentation.
<img src="https://raw.githubusercontent.com/TimeWarpEngineering/timewarp-state/refs/heads/master/documentation/images/time-warp-state-one-way-flow.drawio.svg" alt="logo" height="400" style="" />
Installation
dotnet add package TimeWarp.State
dotnet add package TimeWarp.State.Plus
dotnet add package TimeWarp.State.Telemetry
Check out the latest NuGet packages on the TimeWarp Enterprises NuGet page.
Releases
View the Release Notes for detailed information on each release.
Unlicense
This project is licensed under the Unlicense.
Contributing
Your contributions are welcome! Before starting any work, please open a discussion.
Help with the documentation is also greatly appreciated.
Contact
If you have an issue and don't receive a timely response, feel free to reach out on our Discord server.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AnyClone (>= 1.1.6)
- JetBrains.Annotations (>= 2026.2.0)
- Microsoft.AspNetCore.Components.Web (>= 10.0.12)
- Microsoft.CodeAnalysis.CSharp (>= 4.14.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- TimeWarp.Mediator.Contracts (>= 14.0.0-beta.1)
- TypeSupport (>= 1.2.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on TimeWarp.State:
| Package | Downloads |
|---|---|
|
TimeWarp.State.Plus
TimeWarp.State.Plus extends TimeWarp.State with additional, features, middleware and components to simplify and enhance your Blazor applications. |
|
|
TimeWarp.State.Policies
Policies for TimeWarp State management library |
|
|
TimeWarp.State.Telemetry
OpenTelemetry instrumentation for the TimeWarp.State mediator pipeline: action spans, timing, and opt-in AOT-safe state snapshots. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 12.0.0-beta.5 | 31 | 9/24/2026 |
| 12.0.0-beta.3 | 154 | 9/17/2026 |
| 12.0.0-beta.1 | 2,169 | 8/20/2025 |
| 11.0.3 | 15,395 | 6/20/2025 |
| 11.0.2 | 271 | 6/20/2025 |
| 11.0.1 | 241 | 6/20/2025 |
| 11.0.0 | 4,192 | 12/10/2024 |
| 11.0.0-beta.96 | 119 | 12/5/2024 |
| 11.0.0-beta.95 | 131 | 12/3/2024 |
| 11.0.0-beta.94 | 138 | 12/3/2024 |
| 11.0.0-beta.93 | 111 | 12/2/2024 |
| 11.0.0-beta.92 | 141 | 12/1/2024 |
| 11.0.0-beta.91 | 195 | 11/24/2024 |
| 11.0.0-beta.90 | 141 | 10/21/2024 |
| 11.0.0-beta.89 | 149 | 10/20/2024 |
| 11.0.0-beta.88 | 104 | 10/15/2024 |
| 11.0.0-beta.87 | 340 | 9/9/2024 |
| 11.0.0-beta.86 | 139 | 9/9/2024 |
| 11.0.0-beta.85 | 130 | 8/30/2024 |
| 11.0.0-beta.84 | 472 | 8/22/2024 |