Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RootView] Asynchronously load the bundle to give time to configure the root view #291

Closed
wants to merge 1 commit into from

Commits on Mar 31, 2015

  1. [RootView] Asynchronously load the bundle to give time to configure t…

    …he root view
    
    If you construct an RCTRootView you may want to configure the executor. However the constructor synchronously calls `loadBundle` and sets up the executor and bridge. This is a quick fix that uses dispatch_async to allow the current pass of the runloop time to set up the executor.
    
    Fixes facebook#288
    ide committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    d67d8ce View commit details
    Browse the repository at this point in the history