Auto-append component stack to error logs
bvaughn opened this issue · 0 comments
bvaughn commented
This will require:
- Updating React to inject
ReactDebugCurrentFrame
to DevTools (will be done as part of facebook/react#16017 or a follow up PR)- Possible alternative to inject the
ReactCurrentFiber
value (facebook/react#16133)
- Possible alternative to inject the
- Overriding
console.error
,console.warn
, andconsole.trace
to auto-append component stack (if present).
For more context see facebook/react#16017 (comment)