re-frame-http-fx-alpha icon indicating copy to clipboard operation
re-frame-http-fx-alpha copied to clipboard

A ClojureScript client library for HTTP requests. Provides a re-frame "effect handler" keyed :http

Results 5 re-frame-http-fx-alpha issues
Sort by recently updated
recently updated
newest added

Is it possible to retry errors using an exponential backoff with this library? I couldn't see a place to tell re-frame-http-fx-2 to wait n ms before reissuing the query, but...

I _think_ the use of AbortController will set a fairly high minimum browser [support level](https://caniuse.com/#feat=abortcontroller). It will mean dropping IE11 (which is fine as it doesn't have Fetch either), but...

When I'm making HTTP requests, I have several levels of timeouts I'd like to be able to compose: * Granular connection and response timeouts (unfortunately not exposed in Fetch) *...

Just a thought, one common use case you might like to cover in the state machine is refreshing an access token before doing an api request. Here's some rough code...

[`re-frame-http-fx-2-example`](https://github.com/Day8/re-frame-http-fx-2-example) is a bit too complex. Build a simpler example app; e.g. 'click this button to do a successful request' and 'click this button to see a timeout' etc.