Releases: alexeyraspopov/react-coroutine
Releases · alexeyraspopov/react-coroutine
Version 2.0.2
- Prevent usage of deprecated React lifecycle methods
- Switch to
PureComponentfor small optimizations - Minor internal changes to improve iterators cancellation
- Fix exceptions throw in coroutines based on sync generators
- Update peer dependency range to support React versions higher than
16.2.0
Version 2.0.1
- Prevent rejected promises swallowing in sync generators
- Remove
shallowequaldependency, decreasing the lib size - Use
babel-preset-envinstead ofbabel-preset-es2015for building the lib
Version 2.0.0
- Remove
contextargument from coroutine signature (recommended to switch to the new Context API) Coroutineis only an object withcreate()factory method (breaking change forv2.0.0-alpha.2)- Use
pkg.moduleinstead ofjsnext:main - Build correct ES Module artifact
- Move
reacttopeerDependenciesand update the range to~16.2.0 - Allow the use of sync generators that can yield possible Promise values
Version 2.0.0-alpha.1
- Remove
getVariablesmechanism - Remove unused
Coroutine.rendercomponent - Introduce
Coroutineas a base React component
Version 1.0.6
- Use latest
shallowequalwithoutlodashdependency (–3kb of minified code)
Version 1.0.5
- Fix the issue with redundant updates due to late props comparison
- Fix broken reference to the current props state
Version 1.0.3
- Use
jsnext:maininstead ofpkg.modulebecause of Webpack 2 issue - Use
shallowequalinstead of React's internal tool
Version 1.0.2
- Fix compatibility issue with polyfilled Promises
Version 1.0.1
- Fix the usage of
contextTypesfor async functions
Version 1.0.0
- Use Rollup to build smaller bundle
- Provide
pkg.moduleproperty for bundling original sources - Prevent calls of
setState()for unmounted components