Package Exports
- babel-plugin-autobind-class-methods
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-plugin-autobind-class-methods) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-plugin-autobind-class-methods
Autobinds "this" to class methods, works with hot reloading, created to be used with React
Requires React Hot Loader 3
Install:
npm install babel-plugin-autobind-class-methods --save-dev
Example .babelrc:
{
"presets": ["es2015", "react"],
"plugins": ["autobind-class-methods", "react-hot-loader/babel"]
}