@textpress/freactal

2.4.2 • Public • Published

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.
  • New finalize effect, triggered on unmount (symmetry with initialize)

  • 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

Readme

Keywords

Package Sidebar

Install

npm i @textpress/freactal

Weekly Downloads

1

Version

2.4.2

License

MIT

Unpacked Size

38 kB

Total Files

17

Last publish

Collaborators

  • textpress-ci