1.0.0 • Published 6 years ago

@liyuanqiu/final-state-logger v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Build Status codecov.io Known Vulnerabilities minified + gzip styled with prettier

final-state-logger

Logger for final-state. (Just like redux-logger to redux)

Installation

yarn add final-state
yarn add final-state-logger

You should care about the peer dependencies of this package. If something not installed, just install them manually.

final-state-logger is written in Typescript, so you don't need to find a type definition for it.

Basic Example

import { applyLogger } from 'final-state-logger';

applyLogger(store);

API Reference

function finalStateLogger(store: Store): void

Print all state changes of the passed in store instance.

Test

This project uses jest to perform testing.

yarn test

Road Map

1.0.0

6 years ago