-
Notifications
You must be signed in to change notification settings - Fork 8k
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: flickering of tips card rendering while changing routes #8065
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
className="text-xs font-medium" | ||
// NextJS thinks this is an internal link and tries to prefetch it (also on hover), which fails | ||
// TODO: Extract this into a constant to handle /docs & /developer as well | ||
prefetch={!learnMore.href.startsWith("https://cal.com/blog")}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes prefetch={true} is depreceated warning
📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖
|
Page | Size (compressed) |
---|---|
global |
233.37 KB (🟡 +24 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!
Seventy 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 ) |
---|---|---|---|
/404 |
8.45 KB |
241.81 KB | 69.09% (+/- <0.01%) |
/[user] |
70.21 KB |
303.57 KB | 86.74% (🟢 -0.01%) |
/[user]/[type] |
91.94 KB |
325.31 KB | 92.95% (+/- <0.01%) |
/[user]/[type]/embed |
91.97 KB |
325.34 KB | 92.95% (+/- <0.01%) |
/[user]/book |
182.88 KB |
416.25 KB | 118.93% (🟢 -0.19%) |
/[user]/embed |
70.27 KB |
303.64 KB | 86.75% (+/- <0.01%) |
/_error |
36.57 KB |
269.94 KB | 77.12% (+/- <0.01%) |
/apps |
165.47 KB |
398.84 KB | 113.95% (🟢 -0.49%) |
/apps/[slug] |
187.11 KB |
420.47 KB | 120.14% (🟢 -1.10%) |
/apps/[slug]/[...pages] |
390.91 KB |
624.28 KB | 178.37% (🟢 -0.37%) |
/apps/categories |
148.28 KB |
381.65 KB | 109.04% (🟢 -1.09%) |
/apps/categories/[category] |
152.15 KB |
385.52 KB | 110.15% (🟢 -1.09%) |
/apps/installed/[category] |
195.63 KB |
428.99 KB | 122.57% (🟢 -0.38%) |
/auth/error |
19.24 KB |
252.61 KB | 72.17% (+/- <0.01%) |
/auth/forgot-password |
25.63 KB |
259 KB | 74.00% (+/- <0.01%) |
/auth/forgot-password/[id] |
32.83 KB |
266.2 KB | 76.06% (+/- <0.01%) |
/auth/login |
40.1 KB |
273.47 KB | 78.13% (+/- <0.01%) |
/auth/logout |
7.56 KB |
240.93 KB | 68.84% (+/- <0.01%) |
/auth/setup |
80.48 KB |
313.85 KB | 89.67% (🟡 +0.30%) |
/availability |
153.78 KB |
387.15 KB | 110.61% (🟢 -0.46%) |
/availability/[schedule] |
268.35 KB |
501.72 KB | 143.35% (🟢 -1.09%) |
/availability/troubleshoot |
148.97 KB |
382.34 KB | 109.24% (🟢 -1.09%) |
/booking/[uid] |
123.77 KB |
357.14 KB | 102.04% (🟡 +0.04%) |
/bookings/[status] |
271.84 KB |
505.21 KB | 144.35% (🟢 -0.19%) |
/d/[link]/[slug] |
91.59 KB |
324.96 KB | 92.85% (+/- <0.01%) |
/d/[link]/[slug]/embed |
91.62 KB |
324.99 KB | 92.85% (+/- <0.01%) |
/d/[link]/book |
182.54 KB |
415.9 KB | 118.83% (🟢 -0.19%) |
/event-types |
348.06 KB |
581.43 KB | 166.12% (🟢 -0.30%) |
/event-types/[type] |
381.83 KB |
615.19 KB | 175.77% (🟢 -0.34%) |
/getting-started/[[...step]] |
304 KB |
537.37 KB | 153.53% (🟡 +0.23%) |
/insights |
383.44 KB |
616.8 KB | 176.23% (🟢 -1.09%) |
/more |
147.91 KB |
381.28 KB | 108.94% (🟢 -1.09%) |
/settings/admin |
153.36 KB |
386.73 KB | 110.49% (🟢 -1.09%) |
/settings/admin/apps |
164.53 KB |
397.9 KB | 113.69% (🟢 -0.39%) |
/settings/admin/apps/[category] |
164.52 KB |
397.89 KB | 113.68% (🟢 -0.38%) |
/settings/admin/flags |
156.25 KB |
389.62 KB | 111.32% (🟢 -1.09%) |
/settings/admin/impersonation |
153.65 KB |
387.01 KB | 110.58% (🟢 -1.10%) |
/settings/billing |
153.47 KB |
386.84 KB | 110.53% (🟢 -1.10%) |
/settings/developer/api-keys |
182.62 KB |
415.99 KB | 118.85% (🟢 -1.09%) |
/settings/developer/webhooks |
156.13 KB |
389.49 KB | 111.28% (🟢 -1.09%) |
/settings/developer/webhooks/[id] |
186.82 KB |
420.18 KB | 120.05% (🟢 -1.09%) |
/settings/developer/webhooks/new |
186.67 KB |
420.04 KB | 120.01% (🟢 -1.09%) |
/settings/my-account/appearance |
167.94 KB |
401.31 KB | 114.66% (🟢 -0.94%) |
/settings/my-account/calendars |
187.66 KB |
421.03 KB | 120.29% (🟢 -1.09%) |
/settings/my-account/conferencing |
159.26 KB |
392.62 KB | 112.18% (🟢 -1.10%) |
/settings/my-account/general |
262.63 KB |
496 KB | 141.71% (🟢 -1.09%) |
/settings/my-account/profile |
271.04 KB |
504.41 KB | 144.12% (🟢 -0.93%) |
/settings/security/impersonation |
155.51 KB |
388.88 KB | 111.11% (🟢 -1.09%) |
/settings/security/password |
190.96 KB |
424.32 KB | 121.24% (🟢 -0.48%) |
/settings/security/sso |
163.21 KB |
396.58 KB | 113.31% (🟢 -1.09%) |
/settings/security/two-factor-auth |
158.02 KB |
391.39 KB | 111.83% (🟢 -1.10%) |
/settings/teams |
153.11 KB |
386.48 KB | 110.42% (🟢 -1.09%) |
/settings/teams/[id]/appearance |
167.96 KB |
401.33 KB | 114.67% (🟢 -0.95%) |
/settings/teams/[id]/billing |
153.34 KB |
386.71 KB | 110.49% (🟢 -1.09%) |
/settings/teams/[id]/members |
294.18 KB |
527.55 KB | 150.73% (🟢 -0.88%) |
/settings/teams/[id]/profile |
265.68 KB |
499.05 KB | 142.58% (🟢 -1.08%) |
/settings/teams/[id]/sso |
163.3 KB |
396.67 KB | 113.33% (🟢 -1.09%) |
/settings/teams/new |
92.52 KB |
325.89 KB | 93.11% (🟢 -0.05%) |
/signup |
25.5 KB |
258.86 KB | 73.96% (+/- <0.01%) |
/team/[slug] |
72.62 KB |
305.98 KB | 87.42% (+/- <0.01%) |
/team/[slug]/[type] |
91.59 KB |
324.96 KB | 92.85% (+/- <0.01%) |
/team/[slug]/[type]/embed |
91.63 KB |
324.99 KB | 92.86% (🟢 -0.01%) |
/team/[slug]/book |
182.54 KB |
415.91 KB | 118.83% (🟢 -0.19%) |
/team/[slug]/embed |
72.68 KB |
306.05 KB | 87.44% (+/- <0.01%) |
/teams |
148.13 KB |
381.5 KB | 109.00% (🟢 -1.09%) |
/video/meeting-ended/[uid] |
14.67 KB |
248.03 KB | 70.87% (+/- <0.01%) |
/video/meeting-not-started/[uid] |
14.3 KB |
247.67 KB | 70.76% (+/- <0.01%) |
/video/no-meeting-found |
6.6 KB |
239.97 KB | 68.56% (+/- <0.01%) |
/workflows |
161.13 KB |
394.49 KB | 112.71% (🟢 -1.09%) |
/workflows/[workflow] |
290.87 KB |
524.24 KB | 149.78% (🟢 -0.91%) |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such a small thing makes such a big difference LGTM
What does this PR do?
before:
Screencast.2023-04-03.22.16.11.webm
after:
Screencast.2023-04-03.22.02.33.webm
Type of change