Error handling for React.js apps
Posted Oct 28, 2015 | 1 min. (149 words)React is the cool kid on the block at the moment, everyone seems to be raving about it and how awesome it makes building Javascript apps, and rightly so.
Some articles worth a read (and watch):
Unimorphic Isoversal JavaScript What?
Elegant React with ES6 and a bit of ES7
Learning React.js: Getting Started and Concepts
What about React.js error handling and exception tracking though? You’ll be pleased to know that Raygun and React get on well – so well in fact that you don’t even need to do anything special to get started!
Simply include Raygun4JS in your site’s header and initialise it as you would any other Javascript application
And start firing those errors through!
If you’re doing some fancy ES6 transformation, remember to upload your source maps too and Raygun will produce super useful stack traces for you. Sign up for a free 14 day trial here.