1 min readOct 17, 2017
I haven’t heard about componentDidCatch, I’ll definitely be implementing it in my projects soon.
Too often do I find myself climbing though the React stack, trying to determine the origin of whatever cryptic error popped out in the console.
This method should significantly improve debugging, in addition to providing a better user experience when errors occur.