title: can you catch all errors of a React.js app with a try/catch block?
body: <p>I've made a react application which is not running live, and the people that use it note that very occasionally some strange error occurs. I don't know why or what happens, and can't reproduce it.</p>
  
  <p>So I'm wondering if there is a way to wrap the entire app, or parts of it, in a try/catch block so that I can send the errors to an error log on the server?</p>
  
  <p>All I've read so far is that you could wrap the entire render function in a try/catch, but that would not catch any errors due to user interation right?</p>