This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 971
Conversation
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
Codecov Report
@@ Coverage Diff @@
## master #12105 +/- ##
==========================================
+ Coverage 56.27% 56.34% +0.07%
==========================================
Files 282 282
Lines 28027 28086 +59
Branches 4584 4594 +10
==========================================
+ Hits 15772 15825 +53
- Misses 12255 12261 +6
|
petemill
force-pushed
the
perf/memoize-state-reading
branch
from
January 25, 2018 19:14
3114644
to
6c0cc18
Compare
10 tasks
petemill
force-pushed
the
perf/memoize-state-reading
branch
from
February 15, 2018 04:34
6c0cc18
to
6267450
Compare
This ensures equality comparison will work as expected when no state changes, or windowState changes and appState does not.
Improves performance by only recalculating if appropriate state tree has changed
petemill
force-pushed
the
perf/memoize-state-reading
branch
from
February 19, 2018 22:54
6267450
to
08303b5
Compare
… cache instance-specific selectors This helps keep state-lookup and calculation caches based on frame or tab, whilst managing the cache size by way of when components get created and destroyed.
…'wasted' time per Component, as well as the existing total time
bsclifton
modified the milestones:
0.23.x (Nightly Channel),
0.22.x (Developer Channel)
Feb 20, 2018
10 tasks
10 tasks
closing in favor of other priorities |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #11515
The reactjs/reselect library is a common method to memoize the result of functions that read or compute data based on state. It creates functions that are only re-computed when the relevant state changes. It becomes useful when:
Problems this PR aims to solve
mergeProps
functionsThis PR adds the following features:
This PR results in the following metric improvements:
...
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
Tests