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
In the above case, wonder if just using fromPromise with fetch would be a better fit? Or would you rather use karet.xhr now?
I'm not really a great fan of either the fetch or the XMLHttpRequest APIs. For that particular use case wrapping fetch would likely be ok and slightly easier. I'm not fully up to date on what the current state of browser support is.
Karet XHR was born when there was a question on how to get progress events from XHRs. I find the Karet XHR API style promising for use in reactive UIs (though still a bit rough) and we are starting to use it in production, so I'll likely be tweaking the library further in the near future and ironing out cases where usage is unnecessarily difficult. The interesting thing about Karet XHR is that it doesn't require you to use callbacks and store and mutate state for observing the XHR state/result.
A list of some improvements to be made:
env
preset.external-helpers
plugin.pg-promise
.The text was updated successfully, but these errors were encountered: