Browse Source
Maybe I'm somehow weird, but I lived for some time with an idea that `React.Component` does implement `shouldComponentUpdate` with deep comparison. `React.PureComponent` is faster because it compares shallowly. The changes I propose should avoid this "implicit" kind of way of thinking, since it would explicitly state that `React.Component` does not compare anything.main
Szymon Nowicki
7 years ago
committed by
GitHub
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue