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
Having the constructor passing super a props object that differs (in object equality and/or shallow compare) from the original is... illegal, because: #5334
We should have a warning for that, because it's reasonable for someone to assume they could extend a component and modify the props, without considering the ramifications, and the bug won't show up in their initial render test but will show up when the component updates.
The text was updated successfully, but these errors were encountered:
Having the constructor passing super a props object that differs (in object equality and/or shallow compare) from the original is... illegal, because: #5334
We should have a warning for that, because it's reasonable for someone to assume they could extend a component and modify the props, without considering the ramifications, and the bug won't show up in their initial render test but will show up when the component updates.
The text was updated successfully, but these errors were encountered: