polarsource / polar

Polar is the best funding & monetization platform for developers. From first donation to IPO.
https://polar.sh
Apache License 2.0
1.58k stars 53 forks source link

Fix various React errors #3638

Closed frankie567 closed 1 month ago

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
polar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 11, 2024 7:19am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **polar-next-js-example** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar-next-js-example/3co9vvE73LgGBtyizABjqPiZcDCf)) | [Visit Preview](https://polar-next-js-example-git-fix-react-errors-polar-sh.vercel.app) | | Jul 11, 2024 7:19am |
github-actions[bot] commented 1 month ago

📦 Next.js Bundle Analysis for web

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

Forty-one Pages Changed Size

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

Page Size (compressed) First Load % of Budget (350 KB)
/layout 56.45 KB 282.87 KB 80.82% (🟢 -0.01%)
/maintainer/page 449.62 KB 676.04 KB 193.15% (🟡 +0.01%)
/[organization]/(sidebar)/issues/page 127.41 KB 353.83 KB 101.09% (🟡 +0.01%)
/[organization]/[repo]/page 222.57 KB 448.99 KB 128.28% (+/- <0.01%)
/backoffice/layout 456.81 KB 683.23 KB 195.21% (+/- <0.01%)
/docs/api/[...endpoint]/page 420.97 KB 647.39 KB 184.97% (+/- <0.01%)
/(topbar)/(backer)/purchases/products/[id]/page 209.81 KB 436.23 KB 124.64% (+/- <0.01%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 211.72 KB 438.14 KB 125.18% (+/- <0.01%)
/(topbar)/(backer)/settings/page 216.37 KB 442.79 KB 126.51% (+/- <0.01%)
/maintainer/[organization]/(topbar)/layout 456.81 KB 683.23 KB 195.21% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 574.01 KB 800.43 KB 228.70% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 477.92 KB 704.35 KB 201.24% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 485.18 KB 711.6 KB 203.31% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 469 KB 695.42 KB 198.69% (+/- <0.01%)
/maintainer/[organization]/(topbar)/overview/page 473.54 KB 699.96 KB 199.99% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 446.95 KB 673.37 KB 192.39% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 567.12 KB 793.54 KB 226.72% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/posts/page 557.67 KB 784.09 KB 224.03% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 538.89 KB 765.31 KB 218.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 476.38 KB 702.8 KB 200.80% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 479.35 KB 705.77 KB 201.65% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 570.61 KB 797.03 KB 227.72% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 488.87 KB 715.29 KB 204.37% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 492.22 KB 718.64 KB 205.33% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/page 461.61 KB 688.03 KB 196.58% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 554.63 KB 781.05 KB 223.16% (+/- <0.01%)
/maintainer/[organization]/(white)/layout 441.47 KB 667.89 KB 190.83% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/new/page 552.27 KB 778.69 KB 222.48% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 528.31 KB 754.73 KB 215.64% (+/- <0.01%)
/maintainer/[organization]/products/layout 441.47 KB 667.89 KB 190.83% (+/- <0.01%)
/maintainer/[organization]/promote/page 463.46 KB 689.88 KB 197.11% (+/- <0.01%)
/maintainer/[organization]/promote/layout 441.47 KB 667.89 KB 190.83% (+/- <0.01%)
/maintainer/[organization]/products/new/page 527.99 KB 754.41 KB 215.55% (+/- <0.01%)
/docs/(mdx)/layout 393.22 KB 619.65 KB 177.04% (+/- <0.01%)
/docs/(mdx)/subscriptions/page 30.51 KB 256.93 KB 73.41% (+/- <0.01%)
/docs/api/(mdx)/authentication/page 196.48 KB 422.9 KB 120.83% (+/- <0.01%)
/docs/api/(mdx)/layout 393.21 KB 619.63 KB 177.04% (+/- <0.01%)
/docs/contribute/layout 393.22 KB 619.65 KB 177.04% (+/- <0.01%)
/docs/support/layout 393.22 KB 619.65 KB 177.04% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/layout 441.46 KB 667.89 KB 190.82% (🟡 +0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 441.46 KB 667.89 KB 190.82% (🟡 +0.01%)
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

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your 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. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.