UNPKG

redux-micro-frontend

Version:

This is a library for using Redux to managing state for self-contained apps in a Micro-Frontend architecture. Each self-contained isolated app can have its own isolated and decoupled Redux store. The componentized stores interact with a global store for e

19 lines (18 loc) 588 B
import { Middleware } from 'redux'; import { AbstractLogger as ILogger } from '../common/abstract.logger'; /** * Summary Logs action and its impact on the state */ export declare class ActionLogger { private _logger; constructor(_logger: ILogger); /** * Summary Creates as Redux middleware for logging the actions and its impact on the State */ CreateMiddleware(): Middleware; SetLogger(logger: ILogger): void; private IsLoggingAllowed; private LogActionDispatchStart; private LogActionDispatchComplete; private LogActionDispatchFailure; }