couch-kit
    Preparing search index...

    Interface CreateGameReducerOptions<S, A>

    Options for createGameReducer.

    interface CreateGameReducerOptions<S extends IGameState, A extends IAction> {
        middleware?: Middleware<S, A>[];
    }

    Type Parameters

    Index
    middleware?: Middleware<S, A>[]

    Optional middleware stack. Middlewares are applied in order — the first middleware in the array is the outermost layer and sees every action first.

    Middleware can observe and transform both user actions and internal actions. Custom middleware should avoid blocking internal actions (types prefixed with __) to prevent breaking framework behaviour.