Why You Should Use Error Boundaries in React
React Error Boundaries were introduced in React version 16 to generate a fallback UI in case a component were to crash. This was to ensure that a JavaScript error in a single component should not crash the whole app.Consider the following React appli...
abhinavvp.hashnode.dev3 min read