0

Using Chrome's "Performance" tab, I can add custom markers using console.time. With the React Devtool's "Profiler" tab, is it possible to show custom markers to help debug what's trigger each update?

There's an option labeled "Show inline warnings and errors.", so I expected console.warn and console.error to show up in the profiler, but they're not.

enter image description here

I also tried unstable_trace, but that didn't work because the "Interactions" subtab isn't showing up in my profiler (separate question).

Leo Jiang
  • 24,497
  • 49
  • 154
  • 284

1 Answers1

1

No. This isn't something React DevTools supports.

The "Interactions" tab was removed because the (experimental) tracing APIs were never released (and were removed before the 18 alpha).

bvaughn
  • 13,300
  • 45
  • 46