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

fix(rows): harden static renderer #3393

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

Entkenntnis
Copy link
Member

In #3391 we encouter malformed states liek {plugin: "rows"} (state is missing).

Maybe this is happening somewhere else too. Harden the static renderer to not throw an error.

@Entkenntnis Entkenntnis linked an issue Feb 15, 2024 that may be closed by this pull request
Copy link

vercel bot commented Feb 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Feb 15, 2024 9:51am

Copy link
Contributor

📦 Next.js Bundle Analysis for @serlo/frontend

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 104.13 KB (🟡 +1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Twenty Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/[...slug] 79.08 KB (🟡 +1 B) 183.22 KB
/___bot_or_not 96.36 KB (🟡 +1 B) 200.5 KB
/___editor_preview 510.4 KB (🟡 +1 B) 614.54 KB
/biologie 158.6 KB (🟡 +1 B) 262.74 KB
/chemie 158.6 KB (🟡 +1 B) 262.74 KB
/content-only/[...slug] 72.92 KB (🟡 +1 B) 177.06 KB
/editor 105.31 KB (🟡 +1 B) 209.44 KB
/entity/create/[type]/[taxonomyId] 512.23 KB (🟡 +1 B) 616.37 KB
/entity/repository/add-revision/[...id] 511.31 KB (🟡 +1 B) 615.45 KB
/entity/repository/compare/[entity_id]/[revision_id] 106.55 KB (🟡 +1 B) 210.68 KB
/informatik 158.61 KB (🟡 +1 B) 262.74 KB
/lerntipps 158.6 KB (🟡 +1 B) 262.74 KB
/license/detail/[id] 58.86 KB (🟡 +1 B) 163 KB
/mathe 158.6 KB (🟡 +1 B) 262.74 KB
/nachhaltigkeit 158.61 KB (🟡 +1 B) 262.74 KB
/page/create 511.34 KB (🟡 +1 B) 615.47 KB
/taxonomy/term/create/[parent_id]/[id] 510.94 KB (🟡 +1 B) 615.08 KB
/taxonomy/term/update/[id] 510.81 KB (🟡 +1 B) 614.95 KB
/user/[...userslug] 178.85 KB (🟡 +1 B) 282.98 KB
/user/settings 509.33 KB (🟡 +1 B) 613.46 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Copy link
Member

@elbotho elbotho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

@Entkenntnis Entkenntnis merged commit 40ba1fd into staging Feb 15, 2024
9 checks passed
@Entkenntnis Entkenntnis deleted the 3391-user-profile-not-working-503 branch February 15, 2024 09:59
@elbotho elbotho mentioned this pull request Feb 15, 2024
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.

user profile not working - 503
2 participants