(axios-action-handler key state action axios-promise reaction-fn)function to perform an axios-action - an async-action with
response parsing. invoked from expansions of the def-axios-action macro
function to perform an axios-action - an async-action with response parsing. invoked from expansions of the `def-axios-action` macro
(def-axios-action key
[_state-bindings _async-action-state-bindings _action-bindings
:as bindings]
axios-promise
reaction-map)define an axios based async action - it's like an
deepstate.action.async/def-async-action with parsing
of the axios responses to make things friendlier
use the ::action/axios key of the axios-promise-or-axios-handler-map
to provide the form returning the axios promise
define an axios based async action - it's like an [[deepstate.action.async/def-async-action]] with parsing of the axios responses to make things friendlier use the `::action/axios` key of the `axios-promise-or-axios-handler-map` to provide the form returning the axios promise
(handle-axios-response api-promise)parse both axios API response branches
parse both axios API response branches
(parse-axios-error-response r)parse successful axios API responses
parse successful axios API responses
(parse-axios-success-response
{data :data status :status content-type :content-type :as _r})parse errored axios API responses
parse errored axios API responses
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |