How to keep your React UI working even when there are errors.
React breaks up our UI into separate, reusable components which makes organizing code much easier. However, if one of those components breaks, it crashes the rest of your UI. ErrorBoundary components catch errors in any of their children components allowing you to replace a broken child component with any code you want. In this screencast, we'll show you how to build a React ErrorBoundary component that will help keep your UI working even when there are errors.
Production on your computer
Goes over why production is faster than development ie no error handling
More info on componentDidCatch