2.4.2 • Published 7 years ago
@textpress/freactal v2.4.2
Fork of freactal
Major changes:
Effects can return an async reducer; that is, the value you provide for each key in your
effectsobject is:- A function that takes
effectsand any arguments you pass to it at the call site and returns... - A promise that resolves to...
- A function that takes in state and returns...
- A promise that resolves to...
- The updated state.
- A function that takes
New
finalizeeffect, triggered on unmount (symmetry withinitialize)- New
willRecievePropseffect, will be called when component receives new props - Fix for
TypeError: Cannot redefine property: ...bug triggered by a presence of computed props