-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Remove enableComponentStackLocations #31764
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
} else { | ||
return describeFunctionComponentFrame(ctor); | ||
} | ||
return describeNativeComponentFrame(ctor, true); | ||
} | ||
|
||
export function describeFunctionComponentFrame(fn: Function): string { |
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.
@sebmarkbage we need to keep this old export to support old devtools versions right?
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.
DevTools has its own copy in DevToolsComponentStackFrame
so it can be deleted.
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.
This export seems used by other places still though.
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.
I missed this before merging somehow: #31781
Comparing: 08dfd0b...5efb3ff Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
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.
Lol. We're even on the next version after this one now with enableOwnerStacks
.
Base off #31764 This has landed everywhere
This has landed everywhere