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

Improve performance with useMemo #872

Merged

Conversation

filip131311
Copy link
Collaborator

@filip131311 filip131311 commented Dec 20, 2024

this PR prevents unnecessary rerenders caused by setting states inside objects therefore triggering rerender even f the value didn't change.

How Has This Been Tested:

Run test application and see if it works as expected.

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radon-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 5:33pm

Copy link
Member

@kmagiera kmagiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷

@filip131311 filip131311 merged commit 2ae1cbe into main Dec 22, 2024
4 checks passed
@filip131311 filip131311 deleted the @Filip131311/ImproveRerenderPreformenceWithUseMemo branch December 22, 2024 19:50
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.

2 participants