Eve Hillis
Feb 5, 2018 · 1 min read

I don’t understand what this codesandbox example is trying to do. All I see when I click the “button will render error” button is an actual error in the codesandbox preview:

The custom error that your ShowMyError component is supposed to show is not displayed. I’ve spent a confusing morning trying to learn the React 16 error boundary handling methods. Every example I’ve come across does not work as expected. Has something changed in recent React builds that would cause this or I am I just understanding this concept at all? Very confused! :(

    Eve Hillis

    Written by