Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert changes about `finally` #2593

Closed
chinesedfan opened this issue Dec 8, 2019 · 2 comments
Closed

Revert changes about `finally` #2593

chinesedfan opened this issue Dec 8, 2019 · 2 comments

Comments

@chinesedfan
Copy link
Collaborator

@chinesedfan chinesedfan commented Dec 8, 2019

Section/Content To Improve
https://github.com/axios/axios/blob/master/README.md#note-commonjs-usage

Suggested Improvement
See #2305 (review). Revert #2189 and #2090.

Relevant File(s): README.md

@yasuf
Copy link
Collaborator

@yasuf yasuf commented Dec 20, 2019

what do we need to do here? replace the .finally with then right? as a shim is needed for that to work

@chinesedfan
Copy link
Collaborator Author

@chinesedfan chinesedfan commented Dec 20, 2019

replace the .finally with then right

@yasuf Yes, don't make users think every Promise implementation has a finally method already. It is still on draft stage. See MDN.

@yasuf yasuf closed this in #2683 Jan 22, 2020
@axios axios locked and limited conversation to collaborators May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.