Skip to content

perf: short circuit removal of redundant views#3623

Merged
isekovanic merged 3 commits into
developfrom
perf/message-heaviness-performance
May 27, 2026
Merged

perf: short circuit removal of redundant views#3623
isekovanic merged 3 commits into
developfrom
perf/message-heaviness-performance

Conversation

@isekovanic

Copy link
Copy Markdown
Contributor

🎯 Goal

This PR removes redundant views for a large portion of Message components which will simply not be hit very often (but still result in a yoga measurement/ShadowNode since they will not be collapsed).

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@isekovanic isekovanic requested review from oliverlaz and szuperaz May 27, 2026 19:19
@Stream-SDK-Bot

Copy link
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 1801 KB 1801 KB -47 B 🚀

@isekovanic isekovanic merged commit cd70053 into develop May 27, 2026
5 checks passed
@isekovanic isekovanic deleted the perf/message-heaviness-performance branch May 27, 2026 20:31
@github-actions github-actions Bot mentioned this pull request Jun 10, 2026
6 tasks
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