Browse files

RCTSurface: Use async dispatch to register root shadow view

Summary: We don't really need sync dispatch here. We only need sequential execution of our UIManager blocks.

Reviewed By: rsnara

Differential Revision: D6367069

fbshipit-source-id: cc675aafd6c762506048bcf65c24e54080b013a5
  • Loading branch information...
shergin authored and facebook-github-bot committed Dec 4, 2017
1 parent 081f7d1 commit da17b237e15e20adf20d6b917349d6389efb17fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 React/Base/Surface/
@@ -311,7 +311,7 @@ - (void)_registerRootViewTag
RCTUIManager *uiManager = batchedBridge.uiManager;
[uiManager registerRootViewTag:self->_rootViewTag];
RCTSurfaceRootShadowView *rootShadowView =

0 comments on commit da17b23

Please sign in to comment.