[](https://github.com/GavinHome/done-redux/actions/workflows/build.yml) [](https://codecov.io/gh/gvinhome/done-redux)
## What is Done Redux?
Done Redux is a combined state management framework based on Redux and .Net7, namely Donet Redux.
It is suitable for building .NET applications.
It has four characteristics:
> 1. Functional Programming
> 2. Predictable State
> 3. Componentization
> 4. Flexible assembly
## Documentation
Language: [English](README.md) | [Chinese](README.zh.md)
## Installation
- Initialization state, reducer, container
- Monitor subscriptions
- initiate commands
````c#
using Redux;
var state = CounterState.initState();
var reducer = CounterReducer.buildReducer();
var store = StoreCreator.createStore(state, reducer);
store.Subscribe(() =>
{
var lastState = store.GetState();
var stateJson = System.Text.Json.JsonSerializer.Serialize(lastState);
Console.WriteLine($"[Subscribe] last-state:{stateJson}");
});
store.Dispatch(CounterActionCreator.add(1));
store.Dispatch(CounterActionCreator.minus(2));
internal class CounterReducer
{
internal static Reducer buildReducer()
{
var map = new Dictionary