createRenderUnit

fun createRenderUnit(id: Long, component: Component, commonDynamicProps: SparseArray<DynamicValue<*>>? = null, context: ComponentContext? = null, node: LithoNode, importantForAccessibility: Int, updateState: Int, duplicateParentState: Boolean = false, duplicateChildrenStates: Boolean = false, hasHostView: Boolean = false, isMountViewSpec: Boolean = false, customDelegateBindersForMountSpec: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null, debugKey: String? = null): LithoRenderUnit

Generic method to create a LithoRenderUnit.