-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete the partial memoization of provider (#427)
* Make onInsetsChange more referentially stable It should only change reference if setFrame or setInsets change, which should be never. Related: #426 * Make style passed to provider stable Related: #426 * Memoize provider Related: #426 * Only add displayName to provider if in dev env * Revert "Only add displayName to provider if in dev env" This reverts commit 23fc49e. * Revert "Memoize provider" This reverts commit 8f34f22. * Move to StyleSheet.compose Related: #426 * Remove stable references from onInsetsChange deps * Update snapshot tests
- Loading branch information
Showing
3 changed files
with
55 additions
and
89 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