forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Insert stylesheets that previously suspended
Follow up to facebook#26450. In `acquireResource`, if a stylesheet resource already has an instance, we need to confirm that it was inserted into the document, because it may have been suspended. This happens because stylesheet resources are assigned a resource before committing, inside `suspendResource`. Probably a factoring a smell. As currently implemented, the idea is that `suspendResource` does all the same stuff as `acquireResource` except for the insertion.
- Loading branch information
Showing
2 changed files
with
32 additions
and
2 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