Skip to content

Conversation

TunaDev0
Copy link
Contributor

@TunaDev0 TunaDev0 commented Sep 7, 2025

Summary

Fixed copy-paste errors in the IconExperimental component that caused naming inconsistencies.

Changes

  • IconExperimental.tsx: Corrected function name from IconCanary to IconExperimental in memo declaration
  • MDXComponents.tsx: Already correctly uses IconExperimental in ExperimentalBadge component

Problem

The IconExperimental component was incorrectly using function IconCanary instead of function IconExperimental in its memo declaration, which was a copy-paste error from the IconCanary component.

Copy link

github-actions bot commented Sep 7, 2025

Size changes

📦 Next.js Bundle Analysis for react-dev

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

Five 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 128.02 KB (🟡 +1 B) 238.55 KB
/500 128.02 KB (🟡 +1 B) 238.56 KB
/[[...markdownPath]] 130.12 KB (🟡 +1 B) 240.66 KB
/errors 128.27 KB (🟡 +1 B) 238.81 KB
/errors/[errorCode] 128.24 KB (🟡 +1 B) 238.78 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.

@eps1lon eps1lon requested a review from rickhanlonii September 8, 2025 08:13
@rickhanlonii
Copy link
Member

Thanks @TunaDev0! To make it easier on our translation repo sync, I'll roll this into the next PR I'm working on and add you as a Co-Author so it's all in one change.

rickhanlonii added a commit to rickhanlonii/react.dev that referenced this pull request Sep 8, 2025
@rickhanlonii
Copy link
Member

Added here: #7974

rickhanlonii added a commit that referenced this pull request Sep 12, 2025
* correct IconExperimental naming and usage (from #7972)

Co-authored-by: Tuna <[email protected]>

* Bump Activity to Canary in docs

---------

Co-authored-by: Tuna <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants