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
componentWillMount has been deprecated as of React 16.3. Because kea injects its own componentWillMount, React produces warnings if I kea-fy a component that uses the new lifecycle:
Warning: Unsafe legacy lifecycles will not be called for components using new component APIs.
Form uses getDerivedStateFromProps() but also contains the following legacy lifecycles:
componentWillMount
The above lifecycles should be removed.
The text was updated successfully, but these errors were encountered:
Looking at the code, all the injected componentWillMount does is map this.actions to this.props.actions. Perhaps this could be replaced with a getter, which would offer the same convenience without interfering with the react lifecycle methods.
componentWillMount
has been deprecated as of React 16.3. Because kea injects its owncomponentWillMount
, React produces warnings if I kea-fy a component that uses the new lifecycle:The text was updated successfully, but these errors were encountered: