Skip to content
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

Remove enableComponentStackLocations #31764

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

rickhanlonii
Copy link
Member

This has landed everywhere

Copy link

vercel bot commented Dec 13, 2024

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

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 8:46pm

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Dec 13, 2024
} else {
return describeFunctionComponentFrame(ctor);
}
return describeNativeComponentFrame(ctor, true);
}

export function describeFunctionComponentFrame(fn: Function): string {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebmarkbage we need to keep this old export to support old devtools versions right?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DevTools has its own copy in DevToolsComponentStackFrame so it can be deleted.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This export seems used by other places still though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed this before merging somehow: #31781

@react-sizebot
Copy link

Comparing: 08dfd0b...5efb3ff

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 = 510.41 kB 510.34 kB = 91.35 kB 91.33 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 = 515.32 kB 515.25 kB = 92.04 kB 92.02 kB
facebook-www/ReactDOM-prod.classic.js = 595.25 kB 595.18 kB = 105.02 kB 105.01 kB
facebook-www/ReactDOM-prod.modern.js = 585.51 kB 585.44 kB = 103.46 kB 103.45 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against d96eecb

Copy link
Collaborator

@sebmarkbage sebmarkbage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol. We're even on the next version after this one now with enableOwnerStacks.

@rickhanlonii rickhanlonii merged commit 3ad17ec into facebook:main Dec 13, 2024
187 checks passed
@rickhanlonii rickhanlonii deleted the rh/rm-ff-component-stacks branch December 13, 2024 20:52
github-actions bot pushed a commit that referenced this pull request Dec 13, 2024
This has landed everywhere

DiffTrain build for [3ad17ec](3ad17ec)
github-actions bot pushed a commit that referenced this pull request Dec 13, 2024
This has landed everywhere

DiffTrain build for [3ad17ec](3ad17ec)
rickhanlonii added a commit that referenced this pull request Dec 13, 2024
github-actions bot pushed a commit that referenced this pull request Dec 13, 2024
Base off #31764

This has landed everywhere

DiffTrain build for [4996a8f](4996a8f)
github-actions bot pushed a commit that referenced this pull request Dec 13, 2024
Base off #31764

This has landed everywhere

DiffTrain build for [4996a8f](4996a8f)
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.

4 participants