inferno v7.1.11 Release Notes

Release Date: 2019-03-24 // about 5 years ago
  • Inferno-core

    • ➕ Adds feature to silent lifecycle deprecation messages #1461 #1458

    Example:

    class Foo extends Component { // just added to force the warningsstatic getDerivedStateFromProps() { } componentWillMount() { } componentWillReceiveProps() { } componentWillUpdate() { } render() { return \<div\>Foo\</div\>; } } Foo.prototype.componentWillMount.\_\_suppressDeprecationWarning = true; Foo.prototype.componentWillReceiveProps.\_\_suppressDeprecationWarning = true; Foo.prototype.componentWillUpdate.\_\_suppressDeprecationWarning = true;