withCompositionRoot

Returns a ScreenComposableFactoryFinder that ensures that any ScreenComposableFactory factories registered in this registry will be wrapped exactly once with a CompositionRoot wrapper. See CompositionRoot for more information.

You will rarely use this directly, prefer ViewEnvironment.withComposeInteropSupport