-
Notifications
You must be signed in to change notification settings - Fork 50.1k
Closed
Description
Follow up item for PR #12028
Within the context of an async tree, we should double-invoke the following methods:
constructorrenderstatic getDerivedStateFromPropssetStateupdater 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.
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)
gaearon
Metadata
Metadata
Assignees
Labels
No labels