FormidableLabs / freactal

Clean and robust state management for React and React-like libs.
MIT License
1.65k stars 47 forks source link

middleware #99

Open bingomanatee opened 6 years ago

bingomanatee commented 6 years ago

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.