roact icon indicating copy to clipboard operation
roact copied to clipboard

Make PureComponent perform shallow equality check on state

Open foxydevloper opened this issue 3 years ago • 0 comments

Closes #376

This makes PureComponent perform a shallow equality check on state in shouldUpdate(). This is the same behavior as React and is what PureComponent was documented as actually supposed to do.

Checklist before submitting:

  • [x] Added entry to CHANGELOG.md
  • [ ] Added/updated relevant tests
  • [ ] Added/updated documentation

foxydevloper avatar Aug 05 '22 02:08 foxydevloper