Swap superagent for a fetch API based request library #317
Labels
enhancement
New feature or request
FEM spreadsheet
Tracked in the FEM Planning spreadsheet (for zoo team members)
question
Further information is requested
Milestone
Package lib-panoptes-js
Feature or Issue Description
The panoptes.js library currently uses superagent for http request. Superagent is a mature and robust library that handles common security concerns and uses XHR for full browser support. However, we have decided to not support IE11 and all other modern browsers support the the Fetch API: https://caniuse.com/#search=fetch
Since we do not need to support XHR anymore and because we're starting to use service workers (SWs do not support XHR either), perhaps we should switch to a Fetch API based request library. frisbee looks promising.
(There's no rush to do this either)
To Dos
The text was updated successfully, but these errors were encountered: