Skip to content

Spike useDispatchWhenPropertyControlsInfoChanges + useSyncExternalStore#5088

Draft
balazsbajorics wants to merge 4 commits into
masterfrom
spike/useSyncExternalStore
Draft

Spike useDispatchWhenPropertyControlsInfoChanges + useSyncExternalStore#5088
balazsbajorics wants to merge 4 commits into
masterfrom
spike/useSyncExternalStore

Conversation

@balazsbajorics
Copy link
Copy Markdown
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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 20, 2024

Try me

@relativeci
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown
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.

1 participant