reusable icon indicating copy to clipboard operation
reusable copied to clipboard

Add logger

Open adamkleingit opened this issue 6 years ago • 2 comments

Configurable in Provider, for example: <ReusableProvider logger={NODE_ENV === 'development'}></ReusableProvider>

By default it's false

adamkleingit avatar Jul 07 '19 16:07 adamkleingit

Suggestions:

What should be logged:

  • Every change to a unit's value
  • Which subscribers were triggered

Use colors/grouping if it makes it more aesthetic (see Redux-Logger for example): https://github.com/LogRocket/redux-logger

@morsdyce @yarindeoh opinions?

adamkleingit avatar Jul 25 '19 11:07 adamkleingit

@adamkleingit @morsdyce Agreed, it can be a good start point for debugging options

yarindeoh avatar Jul 27 '19 08:07 yarindeoh