forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Appearance: Cache
colorScheme
in JavaScript (facebook#46122)
Summary: Pull Request resolved: facebook#46122 Implements a JavaScript cache for `colorScheme` in the `Appearance` module, so that we avoid potentially expensive and unnecessary native property accesses. Changelog: [General][Changed] - Improved `Appearance.getColorScheme` performance Reviewed By: rickhanlonii Differential Revision: D61567880
- Loading branch information
1 parent
0a0bd0d
commit 8a4ee9f
Showing
1 changed file
with
24 additions
and
4 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