onBeforeLayout

abstract fun onBeforeLayout(nativeViewHierarchyOptimizer: NativeViewHierarchyOptimizer)

This method will be called by UIManagerModule once per batch, before calculating layout. Will be only called for nodes that are marked as updated with markUpdated or require layouting (marked with dirty).