-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Revert "recreate EventLoopDispatcher in NetworkTransport on hot reload in RN (#3340)" This reverts commit 4c4e497. * Alternative fix for #3236 that avoids causing #3503 The problem with the fix in #3340 was that it was causing the EventLoopDispatcher to be constructed on the sync thread rather than on the JS thread, which is required. This alternative fix initializes it on the JS thread, but ensures it is re-initialized when RN apps are reloaded. Co-authored-by: Kenneth Geisshirt <[email protected]>
- Loading branch information
1 parent
83185e1
commit d10f75b
Showing
3 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters