Errors

Catching React Errors With ReactTryCatchBatchingStrategy

At ClassDojo, we’ve been working on getting visibility into bugs that get deployed to our production React webapp. Catching errors in our data layer is pretty straightforward, but the view layer presents more of a challenge.

Errors in your React code can happen in a variety of places such as

  • render functions
  • lifecycle methods (componentDidMount, componentWillUpdate)
  • event callbacks (onClick , onChange)

Our goal was to cover all of these cases without adding boilerplate to every component.

Continue reading
  • Errors
  • Programming
  • React