TLDR Tech / Dev
Are you telling me a readonly property is wrecking my performance?
A performance issue in an application was identified as being caused by incorrect assumptions about how a readonly property, `scrollHeight`, operates. The realization came when it was discovered that setting this property for every new message led to major slowdowns due to continuous recalculations. To resolve the issue, a simpler approach was implemented by using a large number instead of calculating the precise `scrollHeight`.
Read the full story