Automatic client side error logging for react?

What is the current state of logging with react? I toyed around with sentry but it seems like you have to manually add the logging throughout the app yourself. Are there any plug and play options for client side error logging when you use react? It would be nice to avoid plugging sentry calls in ever callback.

The second best thing to automatic logging would be something like analytics.js, so I’m at least not locked into one library or another (sentry vs. competitor).