Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace isEqual with react-fast-compare #17061

Closed
tay1orjones opened this issue Jul 29, 2024 · 1 comment · Fixed by #17062
Closed

Replace isEqual with react-fast-compare #17061

tay1orjones opened this issue Jul 29, 2024 · 1 comment · Fixed by #17062
Assignees
Labels
role: dev 🤖 type: infrastructure 🤖 Issues relating to devops, tech debt, etc.

Comments

@tay1orjones
Copy link
Member

tay1orjones commented Jul 29, 2024

In #17056 a performance fix was added for DataTable by replacing lodash isEqual with react-fast-compare. This should be done for all other instances in the codebase as it supports both React element comparison and general-purpose deep comparison.

Usages

@tay1orjones tay1orjones added role: dev 🤖 type: infrastructure 🤖 Issues relating to devops, tech debt, etc. labels Jul 29, 2024
@riddhybansal
Copy link
Contributor

Ref https://www.npmjs.com/package/react-fast-compare how react-fast-compare is much much better than lodash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: dev 🤖 type: infrastructure 🤖 Issues relating to devops, tech debt, etc.
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants