Skip to content

test breaking function name transform #33439

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

Closed
wants to merge 1 commit into from

Conversation

rickhanlonii
Copy link
Member

@rickhanlonii rickhanlonii commented Jun 4, 2025

babel/plugin-transform-function-name breaks owner stacks (Playground).

Going to try a few ways to trick it:

Idea 1 (gcc strips): function (){...} || undefined Playground.

Idea 2 (gcc strips): [key]: function (){...} Playground.

Idea 3 (stack changes): 'react-stack-bottom-frame': (() => function(){})() Playground. Changes to in Object.<anonymous>.react-stack-bottom-frame

Idead 4 (stack changes): [key]: function() {...} Playground. Changes to in Object.react-stack-bottom-frame

@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Jun 4, 2025
@react-sizebot
Copy link

Comparing: 3705486...a9e24d2

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 530.07 kB 530.07 kB = 93.57 kB 93.57 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 651.16 kB 651.16 kB = 114.70 kB 114.69 kB
facebook-www/ReactDOM-prod.classic.js = 676.11 kB 676.11 kB = 118.97 kB 118.97 kB
facebook-www/ReactDOM-prod.modern.js = 666.39 kB 666.39 kB = 117.36 kB 117.36 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against a9e24d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants