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

Fix unnecessary Avatar renders which cause extra unnecessary alt text #949

Conversation

talaviad5
Copy link
Contributor

@talaviad5 talaviad5 commented Jul 15, 2023

Move 'CardHeader\CardFooter' out of the Card component for saving unnecessary computing and renders

Before change (look at Mentor 7 and 8 on clicking on like button):

39bc60ef-8f50-44b0-b44f-54720ff306e4.mp4

After change:

633e6ffc-7ab7-482f-a300-3e71aa992d29.mp4

For deeply understanding the problem, you can refer to calling function component and why don't call function component

Move 'CardHeader\CardFooter' out of the Card component for saving unnecessary computing and renders
@vercel
Copy link

vercel bot commented Jul 15, 2023

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

Name Status Preview Comments Updated (UTC)
find-a-mentor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2023 2:06pm

Copy link
Member

@moshfeu moshfeu left a comment

Choose a reason for hiding this comment

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

Thanks! Nice research :)

@moshfeu moshfeu merged commit 8009568 into Coding-Coach:master Jul 22, 2023
2 checks passed
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