(action-dispatcher action state-reducers-or-dispatcher)
Returns a function that accepts the action data as the first parameter and wraps a
dispatch call using the provided action
and state-reducers-or-dispatcher
(which can be either a map of reducerers or a dispatcher that was
previously created using the dispatcher
function.
Allows for defining functions in component namespaces that wrap an action being dispatched and provides more readable code.
Returns a function that accepts the action data as the first parameter and wraps a dispatch call using the provided `action` and `state-reducers-or-dispatcher` (which can be either a map of reducerers or a dispatcher that was previously created using the `dispatcher` function. Allows for defining functions in component namespaces that wrap an action being dispatched and provides more readable code.
(always-apply-functions current-state reducer-config)
(apply-functions-to-state current-state scope functions)
(current-state)
(dispatch & {:keys [action actions reducers scope] :or {actions [action]}})
(dispatch-action action reducer-config scope)
(dispatcher state-reducers)
Returns a function that can be called with an action as the parameter which will be
dispatched against the provided state-reducers
Returns a function that can be called with an action as the parameter which will be dispatched against the provided `state-reducers`
(dissoc-in state full-key)
(get-action-params action)
(get-action-type action)
(get-reducer name reducers-config)
(merge-in state full-key value)
(reduce-state current-state functions)
(reducer-config-with-scope reducer-config scope)
(reset-state)
(scoped-current-state key)
(scoped-state-key key)
(set-storage storage-atom)
(state-has-changed? original-state new-state)
(state-storage)
(throw-unknown-reducer-error action-type)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close