-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
Description
Coming from here
Problem
When multiple onLayout callbacks fire for the same component, each triggers a separate re-render, which causes unnecessary performance overhead.
Solution
Batch all measurements using refs and trigger a single re-render only when all required dimensions are collected. This reduces re-renders from 3-4 down to 2 maximum, improving component's performance by 50-75%.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021941427589708741811
- Upwork Job ID: 1941427589708741811
- Last Price Increase: 2025-07-05
Issue Owner
Current Issue Owner: @sonialiapReactions are currently unavailable
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
Type
Projects
Status
Done