Inferno-core
Example:
class Foo extends Component {
// just added to force the warnings
static getDerivedStateFromProps() { }
componentWillMount() { }
componentWillReceiveProps() { }
componentWillUpdate() { }
render() {
return <div>Foo</div>;
}
}
Foo.prototype.componentWillMount.__suppressDeprecationWarning = true;
Foo.prototype.componentWillReceiveProps.__suppressDeprecationWarning = true;
Foo.prototype.componentWillUpdate.__suppressDeprecationWarning = true;