Performance
Keep updates proportional to what changed, inspect compiled output, and measure rendering and memory in your application.
After this page you can predict how much work a state change causes, avoid the patterns that make it grow with the size of the page, inspect the compiler’s output, and measure the rendering and memory cost of your application.