A react higher order function that handles error boundary. This is an implementation of the new feature in React 16: Error Handling. This is reusable function that accepts a component (functional or class-based), and returns a new component that has error boundary. This is a pure fuction with no dependency.
CodePen:
Herokuapp:
To run app, follow the steps below:
git clone https://github.com/jojo-tutor/hoc-error-boundary.git
cd hoc-error-boundary
npm i
npm start
Jojo E. Tutor
This project is licensed under the MIT License - see the LICENSE file for details
Enjoy :)