2.4.2 • Published 6 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
effects
object is:- A function that takes
effects
and 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
finalize
effect, triggered on unmount (symmetry withinitialize
)- New
willRecieveProps
effect, will be called when component receives new props - Fix for
TypeError: Cannot redefine property: ...
bug triggered by a presence of computed props