[React 19] Need Bring Back _debugSource
or Provide an Equivalent for Better Developer Experience
#32574
Labels
_debugSource
or Provide an Equivalent for Better Developer Experience
#32574
Problem
React 19 removed the
_debugSource
property from Fiber nodes (PR #28265), which has broken critical developer tools that enable "click to open the source from browser" functionality.This removal directly impacts the workflow of thousands of React developers who rely on these tools for rapid debugging and code navigation.
Affected Ecosystem
The following tools/packages as far as I known are affected by React 19:
(see issues of them)
Impact
This change:
Past issues like [React 19] Reintroduce debugSource in some kind of opt-in way #31981 have attempted to address this problem, but received no response from the React team. Does the core team lack prioritization on this matter?
Critical Questions
_debugSource
need to be remove? The original PR offers no justification for any user cases improvement._debugSource
or a supported API,_debugStack
isn’t a viable replacement_debugStack
cannot parse for path on filesystemCall to Action
We appeal to the React team to:
_debugSource
or provide an equivalent official mechanism for source mappingFinal
The React community has spent 5+ years in building tools to close DX gaps. Arbitrarily removing internal properties like
_debugSource
without warning or alternatives undermines community efforts.Vue developers enjoy seamless click-to-source workflows – why can't React developers have parity?
Thanks in advance!
The text was updated successfully, but these errors were encountered: