Skip to content

Releases: alexeyraspopov/react-coroutine

Version 0.6.1

26 Mar 20:37

Choose a tag to compare

  • Fix .npmignore due to lost modules after previous release

Version 0.6.0

26 Mar 20:26

Choose a tag to compare

  • Provide Coroutine.render component to render async functions without wrapping them
  • Add an ability to provide custom component for the initial (empty) state
  • Drop outdated promises if coroutine was updated before they are resolved
  • Use null as default initial body and allow returning it from coroutines

Version 0.5.1

24 Feb 14:58

Choose a tag to compare

  • Fix return statement usage in async generators

Version 0.5.0

22 Feb 13:23

Choose a tag to compare

  • Use a better approach to check if component is mounted

Version 0.4.1

22 Feb 06:46

Choose a tag to compare

  • Fixed weird publish issue

Version 0.4.0

07 Feb 06:59

Choose a tag to compare

  • Drop outdated body before fetching new one

Version 0.3.2

06 Feb 19:02

Choose a tag to compare

  • Fixed incorrect props comparison
  • Fixed re-render logic when new props are received

Version 0.3.1

05 Feb 22:38

Choose a tag to compare

  • Cancel async iterator when a component was unmounted or received new props

Version 0.3.0

05 Feb 13:28

Choose a tag to compare

  • Removed invariant dependency
  • Call getVariables() with props and context passed in
  • Allowed the usage of async generators as components

Version 0.2.0

12 Sep 08:08

Choose a tag to compare

  • Set correct and transpiled main file
  • Reduced amount of files on package install