TimeWarp.State (previously known as Blazor-State) is a fully asynchronous state management library for Blazor applications, leveraging the MediatR 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 MediatR 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.
In addition to the core library, we offer TimeWarp.State.Plus, which extends the functionality with enhanced middleware, components, and tools to further streamline state management in complex Blazor applications.
If you find this project useful, please give it a star. Thanks!
If you are just beginning with Blazor then I recommend you start at the dotnet blazor site.
If you already know a bit about Blazor then I recommend the tutorial
dotnet add package TimeWarp.State
dotnet add package TimeWarp.State.Plus
Check out the latest NuGet packages on the TimeWarp Enterprises NuGet page.
View the Release Notes for detailed information on each release.
This project is licensed under the Unlicense.
Your contributions are welcome! Before starting any work, please open a discussion.
Help with the documentation is also greatly appreciated.
If you have an issue and don't receive a timely response, feel free to reach out on our Discord server.