dynamic-injection-growth

A session in which dynamic() has injected so many classes the CSSOM keeps growing.

Message

A name in angle brackets is a value the message fills in.

[csszyx] dynamic-injection-growth: `dynamic()` has injected <count> or more unique classes this session, and injected CSS rules are never removed, so the CSSOM keeps growing and style recalculation slows.
  help: drive continuously changing values, such as a width that changes every animation frame, through a CSS variable instead.
  docs: https://csszyx.com/e/dynamic-injection-growth

Arguments

The values this diagnostic names.

NameType
countnumber