Discuss the impact of CSS 'will-change' property on web performance.
Instruction: Explain the 'will-change' property, its usage, and how it can influence web performance.
Context: This question probes the candidate's understanding of the 'will-change' property, designed to optimize browser rendering performance by providing hints about what elements will change.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
will-change is a hint that a property or part of an element is likely to change soon. It gives the browser an opportunity to prepare; it neither starts the change nor guarantees a dedicated GPU layer, smooth animation or reduced layout work.
I would first reproduce a rendering bottleneck in a trace...