-
Notifications
You must be signed in to change notification settings - Fork 3
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
AV-1153: Fix prefetching and hydration #570
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Localization Summary
|
📦 Next.js Bundle Analysis for audioverse-nextThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe 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 If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! Nineteen Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly 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 Any third party scripts you have added directly to your app using the 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 5% 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. |
Lighthouse Results |
Accessibility Issues
|
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.
Great work!
Steps used to identify missing prefetches:
Steps used to find fetches that weren't using the generated queries:
|
da18512
to
9d60cc2
Compare
9d60cc2
to
67df8ed
Compare
Great work, @jakecoble! |
67df8ed
to
abbf712
Compare
96562fe
to
218273e
Compare
9253eb7
to
fca4970
Compare
3ce2630
to
e30dedf
Compare
e30dedf
to
e553d40
Compare
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.
Great work!
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.
Great work!
Squashed commit of the following: commit b16dbb1 Merge: 3e7de6a 50a949b Author: Nathan Arthur <[email protected]> Date: Fri Sep 27 12:12:52 2024 -0400 Merge pull request #570 from audioverse-org/prefetching-and-hydration-fixes AV-1153: Fix prefetching and hydration commit 50a949b Author: Jake Coble <[email protected]> Date: Fri Sep 27 11:51:16 2024 -0400 Update vulnerable dependency commit c597584 Author: Henry Orozco <[email protected]> Date: Fri Sep 27 09:47:00 2024 -0600 refactor: use codegen hook for useGetLibraryPlaylistPageDataQuery commit 921fa3c Author: Jake Coble <[email protected]> Date: Fri Sep 27 10:55:12 2024 -0400 Fix generated query keys in doPrefetch commit fb00185 Author: Jake Coble <[email protected]> Date: Sun Sep 22 11:26:32 2024 -0400 Whitelist CVE commit e553d40 Author: Jake Coble <[email protected]> Date: Thu Sep 5 16:00:25 2024 -0400 Add getIsAuthenticated to user session query keys commit def7712 Author: Jake Coble <[email protected]> Date: Mon Sep 2 10:02:15 2024 -0400 Replace useGetIsAuthenticatedQuery with useIsAuthenticated commit f4b7fa7 Author: Jake Coble <[email protected]> Date: Thu Aug 22 14:57:14 2024 -0400 Rename withAuthGuard query to getIsAuthenticated in hooks directory commit 8e6bbff Author: Jake Coble <[email protected]> Date: Sun Aug 18 14:46:53 2024 -0400 Use generated infinite query function on sponsor page commit 5fe0648 Author: Jake Coble <[email protected]> Date: Fri Aug 16 15:40:50 2024 -0400 Prefetch audiobook slider data
Jira story: https://audioverse7.atlassian.net/jira/software/projects/AV/boards/3?assignee=712020:e12535da-4ed4-4700-9b40-8821b41cbf9e&selectedIssue=AV-1153