Skip to content

fix: add avatar component improvements to optimize performance#3006

Merged
khushal87 merged 1 commit intodevelopfrom
avatar-improvements
Mar 11, 2025
Merged

fix: add avatar component improvements to optimize performance#3006
khushal87 merged 1 commit intodevelopfrom
avatar-improvements

Conversation

@khushal87
Copy link
Member

Linear issue - https://linear.app/stream/issue/RN-152/avatar-component-improvements

The goal of the PR is to improve the Avatar component. The URI calculation can simply be memorized in the code and the inline function onError is now moved to a use callback which saves re-renders

@Stream-SDK-Bot
Copy link
Contributor

SDK Size

title develop branch diff status
js_bundle_size 466 KB 466 KB 0 B 🟢

@khushal87 khushal87 merged commit 0cb1020 into develop Mar 11, 2025
5 checks passed
@khushal87 khushal87 deleted the avatar-improvements branch March 11, 2025 09:39
@github-actions github-actions bot mentioned this pull request Mar 12, 2025
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 6.6.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants