useInsertionEffectWithCleanup

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

Only works inside fc

See also