You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some projects React reports incorrect source file line numbers.
The reported line number is always less than the actual line number
This bug occurs in some projects but not others: It could be a build pipeline config issue?
This is probably due to the code being modified by a linting or pretification step of the build processes occurring before typescript transpilation, causing source mappings to be generated "incorrectly" for the partially processed code instead of for the actual code.
Screen.Recording.2024-06-10.at.3.07.13.PM.mov
The text was updated successfully, but these errors were encountered:
Further research into the react devtools source revealed that reporting of this debug info is currently in flux with the reporing mechanism being worked on to eventually support any code where source maps are available (including prod!) using the stack trace provided by a thrown exception.
In some projects React reports incorrect source file line numbers.
Screen.Recording.2024-06-10.at.3.07.13.PM.mov
The text was updated successfully, but these errors were encountered: