composed
Declares a modifier built by calling composables. factory runs in the composition of each component the modifier reaches, before the modifier is applied, and what it returns is applied in place of this entry, so a remember inside it keeps one value per component.
Not recommended: per-component state, coroutines and composition locals belong in a SwingModifier.ComponentNode (see its node capabilities). Use composed only when the modifier can only be built by calling composables. Each call creates an element unequal to the previous pass's, so the composable taking it cannot skip.
The counterpart of AndroidX Modifier.composed.