You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serveRestJSClient! uses the old JS callback method while modern JS prefers Promises. This can be added without breaking the existing API by returning a Promise and keeping the callbacks.
If this is fine I'd be willing to make a PR.
I'd also be interested in replacing the XHR spaghetti with fetch. Both Promise and fetch have been supported for ~10 years and only lack support in IE (is this a problem?).
The text was updated successfully, but these errors were encountered:
serveRestJSClient!
uses the old JS callback method while modern JS prefers Promises. This can be added without breaking the existing API by returning a Promise and keeping the callbacks.If this is fine I'd be willing to make a PR.
I'd also be interested in replacing the XHR spaghetti with
fetch
. BothPromise
andfetch
have been supported for ~10 years and only lack support in IE (is this a problem?).The text was updated successfully, but these errors were encountered: