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
Within the context of an async tree, we should double-invoke the following methods:
constructor
render
static getDerivedStateFromProps
setState updater functions
The current implementation of debugRenderPhaseSideEffects is to also double-invoke several additional methods (eg will-mount, will-update, sCU, etc). This behavior should be removed.
Follow up item for PR #12028
Within the context of an async tree, we should double-invoke the following methods:
constructor
render
static getDerivedStateFromProps
setState
updater functionsThe current implementation of
debugRenderPhaseSideEffects
is to also double-invoke several additional methods (eg will-mount, will-update, sCU, etc). This behavior should be removed.We should also add a dev-warning if we detect any components within an async tree that contain the following methods:
componentWillMount
(orUNSAFE_componentWillMount
)componentWillReceiveProps
(orUNSAFE_componentWillReceiveProps
)componentWillUpdate
(orUNSAFE_componentWillUpdate
)The text was updated successfully, but these errors were encountered: