Skip to content

Conversation

@cat-bro
Copy link
Contributor

@cat-bro cat-bro commented Nov 28, 2018

shouldComponentUpdate methods in object-row and object-cell always return true because they are comparing objects that are not truly equal, despite having the same keys and values.

@cat-bro
Copy link
Contributor Author

cat-bro commented Nov 28, 2018

JSON.stringify is not necessarily a respectable solution but for methods of comparing the props it was much faster than Object.is() or any custom functions I tried.

@cat-bro cat-bro merged commit e4ab93c into master Dec 10, 2018
@cat-bro cat-bro deleted the enhance/row-and-cell-shouldComponentUpdate-methods branch December 10, 2018 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants