]> git.cworth.org Git - lmno.games/commitdiff
Empathy: Let React now I'm a good boy and I won't mutate state
authorCarl Worth <cworth@cworth.org>
Tue, 9 Jun 2020 02:10:52 +0000 (19:10 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 9 Jun 2020 02:10:52 +0000 (19:10 -0700)
By using React.memo() and PureComponent, React can avoid doing any
re-rendering of components that haven't changed at all.


No differences found