Skip to content

[DevTools] Always skip 1 frame - #34167

Merged
sebmarkbage merged 1 commit into
react:mainfrom
sebmarkbage:skipframes
Aug 11, 2025
Merged

sebmarkbage merged 1 commit into
react:mainfrom
sebmarkbage:skipframes

Conversation

@sebmarkbage

Copy link
Copy Markdown
Contributor

Follow up to #34093.

There's an issue where the skipFrames argument isn't part of the cache key so the other parsers that expect skipping one frame might skip zero and show the internal fakeJSXDEV callsite. Ideally we should include the skipFrames as part of the cache key but we can also always just skip one.

@sebmarkbage
sebmarkbage requested review from eps1lon and hoxyq August 11, 2025 05:43
@meta-cla meta-cla Bot added the CLA Signed label Aug 11, 2025
@github-actions github-actions Bot added the React Core Team Opened by a member of the React Core Team label Aug 11, 2025
@sebmarkbage
sebmarkbage merged commit 594fb5e into react:main Aug 11, 2025
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
Follow up to react#34093.

There's an issue where the skipFrames argument isn't part of the cache
key so the other parsers that expect skipping one frame might skip zero
and show the internal `fakeJSXDEV` callsite. Ideally we should include
the skipFrames as part of the cache key but we can also always just skip
one.
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.

1 participant