v3.0.0
What's Changed
- Detects
class
components that extend theComponent
class, even if they do not use any JSX. Now errors on manager, business logic, and other renderlessclass
components that extendComponent
. Previously the below was not caught:
class TimerComponent extends React.Component {
/// ...
componentWillMount() {
this.startTimer();
}
componentWillUnmount() {
this.stopTimer();
}
render() {
null;
}
}
Thanks @wo1ph for the improvements!
New Contributors
Full Changelog: v2.0.0...v3.0.0