Cancel API calls when unmounting components
Open
Nobody has claimed this yet.
chore
- Dominant language
- JavaScript
- Stars
- 92
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Components which initiate network calls to API server should cancel requests in progress if having to unmount unexpectedly.
Use the cancelToken feature in axios to achieve this.
Components like WebsitesSection, NetworkPropertiesSection etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.