You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some ReactJS lifecycle methods (componentWillMount(), componentWillReceiveProps() and componentWillUpdate()) will be removed in version 17.
We should fix the usage of the deprecated methods listed above by either refactoring the classes by using the newly introduced static methods, e.g. getDerivedStateFromProps() (see here) or adjusting the deprecated methods with the UNSAFE_ prefix (see here).
In this context we should double-check for our components if shouldComponentUpdate or React.PureComponent can be used more often. This would increase performance significantly (especially in IE11)
Some ReactJS lifecycle methods (
componentWillMount()
,componentWillReceiveProps()
andcomponentWillUpdate()
) will be removed in version 17.We should fix the usage of the deprecated methods listed above by either refactoring the classes by using the newly introduced static methods, e.g.
getDerivedStateFromProps()
(see here) or adjusting the deprecated methods with theUNSAFE_
prefix (see here).I'm pro option one.
See failing build in #647 as well.
The text was updated successfully, but these errors were encountered: