measureMapBuffer

open fun measureMapBuffer(@NonNull context: ReactContext, @NonNull componentName: String, @NonNull localData: MapBuffer, @NonNull props: MapBuffer, @Nullable state: MapBuffer, width: Float, @NonNull widthMode: YogaMeasureMode, height: Float, @NonNull heightMode: YogaMeasureMode, @Nullable attachmentsPositions: Array<Float>): Long

Measure a component, given localData, props, state, and measurement information. This needs to remain here for now - and not in SurfaceMountingManager - because sometimes measures are made outside of the context of a Surface; especially from C++ before StartSurface is called.

Return

Parameters

context
componentName
localData
props
width
widthMode
height
heightMode
attachmentsPositions