You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2022/09/29 23:38:00 UTC
[jira] [Resolved] (CB-14158) Use native Promises instead of Q
[ https://issues.apache.org/jira/browse/CB-14158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile resolved CB-14158.
-------------------------------
Resolution: Fixed
closing since the linked issues are completed
> Use native Promises instead of Q
> --------------------------------
>
> Key: CB-14158
> URL: https://issues.apache.org/jira/browse/CB-14158
> Project: Apache Cordova
> Issue Type: Task
> Components: cordova-js
> Reporter: Raphael von der Grün
> Assignee: Raphael von der Grün
> Priority: Minor
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org