(def-axios-action key action-bindings-vec axios-action-map-or-axios-action)
define an axios based async action - it's just an async-action with a little parsing of the axios responses to make things friendlier
cf deepstate.action.async/def-async-action
use the ::action/axios
key of the action-map
to
provide the form returning the axios promise
define an axios based async action - it's just an async-action with a little parsing of the axios responses to make things friendlier cf `deepstate.action.async/def-async-action` use the `::action/axios` key of the `action-map` to provide the form returning the axios promise
(handle-axios-response api-promise)
parse API response branches into data
parse API response branches into data
(parse-axios-success-response
{data :data status :status content-type :content-type :as _r})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close