Closed okwolf closed 6 years ago
This would enable the following simplified syntax:
logger(app)(state, actions, view, document.body)
while still preserving support for the current syntax:
logger(options)(app)(state, actions, view, document.body)
I already wrote an implementation that supports this in my hyperapp-effects library, since it started with no options, and then added them without a breaking change.
hyperapp-effects
This would enable the following simplified syntax:
while still preserving support for the current syntax:
I already wrote an implementation that supports this in my
hyperapp-effects
library, since it started with no options, and then added them without a breaking change.