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

Single wrapper for multiplayer components #4511

Merged
merged 4 commits into from
Nov 20, 2023
Merged

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Nov 20, 2023

Fix #4510

Problem:

Multiplayer components need a ClientSideSuspense wrapper and an ErrorBoundary wrapper.

Fix:

This PR does not change the existing behavior of multiplayer components but wraps them in a shared component that provides both the error boundary and the suspense wrapper, which we can expand later on.

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Try me

Copy link

relativeci bot commented Nov 20, 2023

Job #9214: Bundle Size — 65.16MiB (+0.01%).

db66e77(current) vs 5957b21 master#9200(baseline)

Warning

Bundle contains 67 duplicate packages – View duplicate packages

Bundle metrics  Change 5 changes Regression 2 regressions Improvement 1 improvement
                 Current
Job #9214
     Baseline
Job #9200
Regression  Initial JS 47.3MiB(+0.02%) 47.29MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 25.02% 21.42%
No change  Chunks 25 25
No change  Assets 29 29
Change  Modules 4389(+0.07%) 4386
Regression  Duplicate Modules 469(+0.21%) 468
Improvement  Duplicate Code 30.37%(-0.03%) 30.38%
No change  Packages 454 454
No change  Duplicate Packages 67 67
Bundle size by type  Change 1 change Regression 1 regression
                 Current
Job #9214
     Baseline
Job #9200
Regression  JS 65.14MiB (+0.01%) 65.14MiB
Not changed  HTML 11.32KiB 11.32KiB

View job #9214 reportView feat/multiplayer-wrap branch activity

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Performance test results:
(Chart1)
(Chart2)

# Conflicts:
#	editor/src/components/canvas/design-panel-root.tsx
#	editor/src/components/user-bar.tsx
@ruggi ruggi merged commit 60c26fd into master Nov 20, 2023
11 checks passed
@ruggi ruggi deleted the feat/multiplayer-wrap branch November 20, 2023 11:00
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.

error boundary + suspense wrapper for multiplayer
4 participants