final-state-logger
v2.0.1-alpha.0
Published
[![Build Status](https://travis-ci.com/final-state/final-state-monorepo.svg?branch=master)](https://travis-ci.com/final-state/final-state-monorepo) [![codecov.io](https://codecov.io/gh/final-state/final-state-monorepo/branch/master/graph/badge.svg)](https
Downloads
21
Readme
final-state-logger
Logger for
final-state
. (Just likeredux-logger
toredux
)
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