rememberCompositionContext
Composable Function
Common
@Composable
public fun rememberCompositionContext(): CompositionContext
An Effect to construct a CompositionContext
at the current point of composition. This can be
used to run a separate composition in the context of the current one, preserving
CompositionLocal
s and propagating invalidations. When this call leaves the composition, the
context is invalidated.