React Coroutine Versions Save

Make your async components compact and descriptive by leveraging the power of the language features

v2.0.2

6 years ago
  • Prevent usage of deprecated React lifecycle methods
  • Switch to PureComponent for 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

v2.0.1

6 years ago
  • Prevent rejected promises swallowing in sync generators
  • Remove shallowequal dependency, decreasing the lib size
  • Use babel-preset-env instead of babel-preset-es2015 for building the lib

v2.0.0

6 years ago
  • Remove context argument from coroutine signature (recommended to switch to the new Context API)
  • Coroutine is only an object with create() factory method (breaking change for v2.0.0-alpha.2)
  • Use pkg.module instead of jsnext:main
  • Build correct ES Module artifact
  • Move react to peerDependencies and update the range to ~16.2.0
  • Allow the use of sync generators that can yield possible Promise values

v2.0.0-alpha.1

6 years ago
  • Remove getVariables mechanism
  • Remove unused Coroutine.render component
  • Introduce Coroutine as a base React component

v1.0.6

6 years ago
  • Use latest shallowequal without lodash dependency (–3kb of minified code)

v1.0.5

6 years ago
  • Fix the issue with redundant updates due to late props comparison
  • Fix broken reference to the current props state

v1.0.3

6 years ago
  • Use jsnext:main instead of pkg.module because of Webpack 2 issue
  • Use shallowequal instead of React's internal tool

v1.0.2

7 years ago
  • Fix compatibility issue with polyfilled Promises

v1.0.1

7 years ago
  • Fix the usage of contextTypes for async functions

v1.0.0

7 years ago
  • Use Rollup to build smaller bundle
  • Provide pkg.module property for bundling original sources
  • Prevent calls of setState() for unmounted components