-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use watchers and data instead of computed props to memoize results #4372
use watchers and data instead of computed props to memoize results #4372
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4372 +/- ##
===========================================
- Coverage 52.7% 52.69% -0.01%
===========================================
Files 721 721
Lines 23189 23191 +2
Branches 3158 3158
===========================================
Hits 12221 12221
Misses 10234 10234
- Partials 734 736 +2
Continue to review full report at Codecov.
|
30f35b4
to
cbd8bdf
Compare
The SetupWizardIndex test is failing because of 'DefaultLanguageForm'. You can stub DefaultLanguageForm in the tests, or figure out what the problem is in DefaultLanguageForm. |
Having this autosave attr breaks FacilityPermissionsForm-related tests for some reason
thanks for addressing those issues @jonboiser was there anything else that I should be doing to get this PR in? |
thanks! |
Summary
Computed props are re-evaluated down the entire chain, whether or not it's necessary. This can be particularly expensive when the prop drives styles or DOM updates.
Reviewer guidance
make sure responsive behaviors are still working, especially grids
References
Contributor Checklist
Reviewer Checklist
yarn
andpip
)