componentDidCatch
and Error Boundaries in
React v16+
Who am I!
● Twitter: @rohan10
● Github: rohannair
● Head of Engineering - Pungle
● React-ing since Jan 2015
● React 16 aka initial Fiber
release
● New reconciliation algorithm
● Rewritten internal renderer
● The future!
● 16.0 adds componentDidCatch
Background!
Let’s dive into code...
Further Readings!
● https://github.com/rohannair/errorboundaries-sep19
● https://facebook.github.io/react/blog/2017/07/26/error-handling-in-r
eact-16.html
● https://github.com/acdlite/react-fiber-architecture
● https://github.com/rohannair/react-reconciliation-presentation
Quick announcement
● OICR - Looking for devs!
Frontend (React, Relay),
backend (GraphQL, Python,
ElasticSearch)
● Go talk to Alex Wilmer (he
looks like this →)
Thank you!

componentDidCatch and Error Boundaries in React v16+