Medium

You're implementing error boundaries in your React application. What's wrong with this implementation, and which answer correctly implements the missing methods?

Choose an option below