Core is a library for handling requests and error handling:
A set of constants used in the core library
A wrapper for Axios.get, Axios.put, Axios.delete and Axios.post
Each request has a timer that triggers an event called slowApi if a request takes more than X seconds (configurable). You can call clearAllRequestTimers to force clear all the timers.
Helper utility to save/remove auth token from storage
Helper utilities to track idle time from the user and to show a logout warning if the user has been idle for a set time
Helpers to log errors to sentry.io
A react component that traps errors in the app and logs them in sentry.io