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

Use native Promises instead of Q

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-js
    • Labels:
      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

          Activity

            People

            • Assignee:
              raphinesse Raphael von der Grün
              Reporter:
              raphinesse Raphael von der Grün
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: