Your middlware examplle of wrapping a console log around each effect seems to imply it will be keyed once, filter each event and never be executed again. However I've noticed that middleware fires with each state change, so your middleware example would continuously add redundant logging around all effects with each state change -- not likely your intent.
Your middlware examplle of wrapping a console log around each effect seems to imply it will be keyed once, filter each event and never be executed again. However I've noticed that middleware fires with each state change, so your middleware example would continuously add redundant logging around all effects with each state change -- not likely your intent.