When I open the devtools to find out where the error occured in browser, then I typically see something like this:
Cannot read properties of null .... app.js:123123
at MyComponent
It is ok that console gives me that the error occured in MyComponent , but it gives me that the line was in app.js:123123
which is the builded js file I think, so it is hard to find in which line was the error.
I tried using Erorboundaries and try-catch console.log error.stack but it did not gave me exact component with the line.