Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The default for TextDecoder is the format 'utf-8'. In my project I'm also using the library @auth0/auth0-spa-js, which loads the polyfill fast-text-encoding for TextDecoder. This polyfilled version will throw an error if it gets passed 'utf8'. This causes my app to crash on Edge. alternatives: - remove the argument, it'll default to utf-8. - wrap the initializer in a try/catch
- Loading branch information