Closed
Description
Some quick googling didn't show any explanation of the info
parameter for componentDidCatch(error, info)
. The only key in that object that I've seen so far is componentStack
, which is useful, but is already composed. If I want to do some custom rendering of that information, I have to parse it.
I'd love to see info.componentStack
become a more general info.text
string and then have componentStack
be broken down to an array of frames. Something like [{component, createdBy}]
.
Metadata
Metadata
Assignees
Labels
No labels