• first i should understand how componentDidCatch works
  • make a HOC that wraps it.

https://twitter.com/dan_abramov/status/807187967035015168?lang=en


testing out cDC in codepen: https://codepen.io/swyx/pen/oELbZv

the https://github.com/facebook/create-react-app/pull/1101/files

and on the official docs for cDC https://reactjs.org/docs/error-boundaries.html#how-about-event-handlers