Can it be an external lib so atom default bundle can remain tiny?
var store = atom(applyMiddleware([someMiddleware], counter), 0)
Could the applyMiddleware just wrap each middleware in a function that returns unchanged state?
Do the middleware functions need a way to halt progress, a la next()?
Could the
applyMiddleware
just wrap each middleware in a function that returns unchanged state? Do the middleware functions need a way to halt progress, a lanext()
?