-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[entropy] skip recalc if panel's not rendered
Improves the performance of most interactions in Auspice when the `<Entropy>` panel's not displayed by not constantly updating the entropy calculations. The downside is when the panel's toggled on the initial rendering is slightly slower as we also have to compute the data at that point. Note that we still compute the data within `recomputeReduxState.js` (rather than always deferring to the `<Entropy>` panel) so we don't have to worry about narrative page changes.
- Loading branch information
1 parent
2dce56c
commit e6731a5
Showing
3 changed files
with
28 additions
and
1 deletion.
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