Skip to content
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

Spike useDispatchWhenPropertyControlsInfoChanges + useSyncExternalStore #5088

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

balazsbajorics
Copy link
Contributor

Instead of validateControlsTocheck() directly dispatching an editor update, let's try to pass the data through a useSyncExternalStore in the hopes that this fixes the runaway re-render issues we sometimes encounter

Copy link
Contributor

github-actions bot commented Mar 20, 2024

Try me

Copy link

relativeci bot commented Mar 20, 2024

Job #11142: Bundle Size — 63.26MiB (~+0.01%).

c3b6f9e(current) vs 2296c28 master#11106(baseline)

Warning

Bundle contains 58 duplicate packages – View duplicate packages

Bundle metrics  Change 4 changes Regression 2 regressions
                 Current
Job #11142
     Baseline
Job #11106
Regression  Initial JS 50.44MiB(+0.01%) 50.43MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 22.34% 21.42%
No change  Chunks 40 40
No change  Assets 44 44
Change  Modules 4470(+0.07%) 4467
Regression  Duplicate Modules 607(+0.33%) 605
No change  Duplicate Code 31.97% 31.97%
No change  Packages 467 467
No change  Duplicate Packages 58 58
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
Job #11142
     Baseline
Job #11106
Regression  JS 63.24MiB (~+0.01%) 63.24MiB
Improvement  HTML 14.15KiB (-0.44%) 14.21KiB

View job #11142 reportView spike/useSyncExternalStore branch activityView project dashboard

Copy link
Contributor

Performance test results:
(Chart1)
(Chart2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant