react-poop wraps your stateless functions and the render method of your components into a try/catch block and renders a 💩 when something goes wrong.
npm i react-poop --save
import React from 'react'
import { render } from 'react-dom'
import poop from 'react-poop'
const App = poop(() => <div>Hello react-poop</div>)
render(<App />, document.getElementById('app'))
npm test