recompose icon indicating copy to clipboard operation
recompose copied to clipboard

Added withStateUpdaters as more flexible replacement for withStateHandlers …

Open ElvenMonky opened this issue 7 years ago • 3 comments

Added third parameter to withStateHandlers to allow better control over event handling (persistance and propagation) and over result passed to setState (either object or function). Second parameter left for backwards compatibility and can be set to null/undefined.

ElvenMonky avatar Aug 29 '18 14:08 ElvenMonky

With respect to proposal to change order of calls in issue #602

ElvenMonky avatar Aug 29 '18 14:08 ElvenMonky

Lets make a new hoc, withStateUpdaters, + help, + tests, +flow types, +flow test

istarkov avatar Aug 30 '18 15:08 istarkov

Ok, seems done now. Sorry for the delay.

One thing to note: pushing from Windows didn't work. Had to fix it too

ElvenMonky avatar Sep 16 '18 22:09 ElvenMonky