0 votes
in ReactJS by
What is the benefit of component stack trace from error boundary in ReactJS?

1 Answer

0 votes
by

Apart from error messages and javascript stack, React16 will display the component stack trace with file names and line numbers using error boundary concept.

For example, BuggyCounter component displays the component stack trace as below,

stacktrace

...