Please consider integrating react-error-overlay which is available as an npm package. The source code in here.
Instead of trying to understand the errors hidden away in the browser console, we'd see something like this:

This does a much better job of explaining JS errors than browsers do which is helpful for everyone but especially beginners.
Yes. This seems like something pretty solid.
This integration would be awesome @arunoda 馃槑
any plans to add this feature?
@cr101 it's not a priority right now. But we'll definitely add it in the future. It's awesome 馃憣
@timneutkens This probably can be closed now since Next.js 7 introduced react-error-overlay.
@antonmoiseev 馃檶
Most helpful comment
@timneutkens This probably can be closed now since Next.js 7 introduced
react-error-overlay.