Releases: sindresorhus/auto-bind
Releases · sindresorhus/auto-bind
v5.0.1
- Fix TS type regression in v5 with classes 1f59541
v5.0.0
Breaking
v4.0.0
Breaking
- Move the React support to a sub-module b168da4
- Migrate:
-const autoBind = require('auto-bind');
+const autoBindReact = require('auto-bind/react');
class Foo extends React.Component {
constructor(props) {
super(props);
- autoBind.react(this);
+ autoBindReact(this);
}
}