Releases: alexeyraspopov/react-coroutine
Releases · alexeyraspopov/react-coroutine
Version 0.6.1
- Fix
.npmignoredue to lost modules after previous release
Version 0.6.0
- Provide
Coroutine.rendercomponent 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
nullas default initial body and allow returning it from coroutines
Version 0.5.1
- Fix
returnstatement usage in async generators
Version 0.5.0
- Use a better approach to check if component is mounted
Version 0.4.1
- Fixed weird publish issue
Version 0.4.0
- Drop outdated body before fetching new one
Version 0.3.2
- Fixed incorrect props comparison
- Fixed re-render logic when new props are received
Version 0.3.1
- Cancel async iterator when a component was unmounted or received new props
Version 0.3.0
- Removed
invariantdependency - Call
getVariables()withpropsandcontextpassed in - Allowed the usage of async generators as components
Version 0.2.0
- Set correct and transpiled main file
- Reduced amount of files on package install