useLayoutEffectWithCleanup

fun useLayoutEffectWithCleanup(vararg dependencies: Any?, effect: CleanupBuilder.() -> Unit)(source)

Only works inside fc

See also