React Error checking / reporting

Would it be possible to add error checking in the browser for the React F7 template? My guess is that the Create React App uses an npm package for this.

The sample below comes from the Create React App template.
https://www.npmjs.com/package/create-react-app

I created a simple error to show the it being reported in the browser window.

this.state: { …

should be

this.state = { …