Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14158

Use native Promises instead of Q

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-js
    • None

    Description

      For fun and profit.

      Pros:

      • Native interface should be more familiar to new contributors
      • Better tooling support
        • ESLint Promise checks
        • Hopefully cleaner stack traces in various tools
      • One less stone-age dependency
      • Better Performance?

      Cons:

      • No more finally (fin) method. Alternatives:
        • Micro library (e.g. p-finally): - ugly interface
        • Bluebird: - Additional dependency, + Lots of goodies
        • Polyfill: - where to include? - Possible conflicts? + nice interface
        • Babel: - additional build overhead + Lots of goodies

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            raphinesse Raphael von der Grün
            raphinesse Raphael von der Grün
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: