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
If your objects contain complex data structures, it may produce false-negatives for deeper differences. Only extend PureComponent when you expect to have simple props and state.
The text was updated successfully, but these errors were encountered:
It might be a good idea to replace
shallowCompare
withPureComponent
, but will it work with dynamic data?From React's doc:
The text was updated successfully, but these errors were encountered: