A simple React component for Sentry integration.
npm install --save react-raven
import React from 'react';
import Raven from 'react-raven';
fuction Application(props) {
return (
<div>
<Raven dsn="https://<key>@sentry.io/<project>" />
{'...your staff...'}
</div>
);
}
export default Application;
required The dsn url to the sentry instance (more information).
optional The optional sentry configuration (more information).