0.0.1 • Published 4 years ago
react-loge v0.0.1
react-loge
Loge: An service tracking error for your React App
Install
npm install --save react-loge
Usage
import React from 'react'
import LogeBoundary from 'react-loge'
const Component =()=>{
return(
<LogeBoundary
appId="<YOUR_APP_ID>"
apiKey="<YOUR_API_KEY>"
fallback={<div>Something went wrong</div>}
>
<MyComponent />
</LogeBoundary>
);
}
Dashboard and API Key
- Register an account here
- Create your new app and get one YOUR_APP_ID
- Copy API Key
License
MIT © l1ttps