This article explores exactly at which point immutability affects our code performance, how to analyze it and a few solution options.

Lately, we noticed that one of our components is lagging a bit. The lag varied with each client in the system — one page loaded smoothly while another page’s calculation process took 8 seconds. Our UI was stuck and lagging and we were officially concerned.

Ronen Mars

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store