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

refactor: remove bluebird in favor of native apis #279

Merged
merged 3 commits into from
Aug 7, 2016

Conversation

zacharygolba
Copy link
Contributor

Removes bluebird in favor of native APIs.

This refactor was implemented because of the following:

  • One less dependency is always nice
  • Flow plays much nicer w/ native Promises
  • We didn't use bluebird for anything other than promisifyAll for fs methods which have since been converted manually which gives us significantly improved type safety

@mutewinter
Copy link

Whoa, hand promisifying. Hardcore. Someday you'll have to write the Zen and Art of Refactoring Node.

@zacharygolba
Copy link
Contributor Author

zacharygolba commented Aug 7, 2016

Haha thanks man! If it does well maybe we could do a sequel the Tao of Find and Replace.

@zacharygolba zacharygolba merged commit 4d89474 into master Aug 7, 2016
@zacharygolba zacharygolba deleted the refactor-remove-bluebird branch August 7, 2016 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants