Package-level declarations

Types

Link copied to clipboard
typealias Effect = Attachable
Link copied to clipboard
Link copied to clipboard

Manages the execution and update of effects within a ComponentTree.

Functions

Link copied to clipboard
fun EffectHandler(useOptimizedContextualEffectHandler: Boolean = ComponentsConfiguration.defaultInstance.useOptimizedContextualEffectHandler): EffectHandler
Link copied to clipboard
inline fun EffectHandler.updateAndRun(context: EffectContext, newEffects: List<Effect>?, onUpdate: () -> Unit)
Link copied to clipboard
fun LayoutScope.useEffect(onAttach: () -> CleanupFunc?)

fun LayoutScope.useEffect(vararg deps: Any?, onAttach: () -> CleanupFunc?)

Registers a callback to perform side-effects from the Layout Behaviour of a Primitive Component.