react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

Upgrade to Next 15 Canary and enable React Compiler

Open mattcarrollcode opened this issue 1 year ago • 2 comments
trafficstars

This change upgrades React.dev from Next 13.4.1 to Next 15 Canary and and enables the React Complier

Preview, 19 Preview

mattcarrollcode avatar Jun 26 '24 19:06 mattcarrollcode

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

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 2:25am
react-dev ✅ Ready (Inspect) Visit Preview Jan 10, 2025 2:25am

vercel[bot] avatar Jun 26 '24 19:06 vercel[bot]

Size changes

📦 Next.js Bundle Analysis for react-dev

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 110.39 KB (🟡 +6.02 KB)
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!

Six Pages Changed Size

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

Page Size (compressed) First Load
/404 124.7 KB (🔴 +18.73 KB) 235.09 KB
/500 124.71 KB (🔴 +18.74 KB) 235.1 KB
/[[...markdownPath]] 126.56 KB (🔴 +18.81 KB) 236.96 KB
/_error 190 B (🟡 +9 B) 110.58 KB
/errors 124.98 KB (🔴 +18.8 KB) 235.37 KB
/errors/[errorCode] 124.95 KB (🔴 +18.8 KB) 235.35 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 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

github-actions[bot] avatar Jun 26 '24 22:06 github-actions[bot]

@gaearon @rickhanlonii can either of you take a look or suggest someone else to review?

mattcarrollcode avatar Dec 23 '24 20:12 mattcarrollcode