Releases: CanopyTax/async-decorator
Releases · CanopyTax/async-decorator
Release list
v0.3.0
Add a ref to the decorated component. If you need to get access to the inner component that AsyncDecorator is wrapping, access it through the .el property. For example:
@AsyncDecorator
class MyComponent extends React.Component {
...
}
class OtherComponent extends React.Component {
render() {
return <MyComponent ref={ref => {
// access the inner component with `ref.el`
}}
}
}