Liking cljdoc? Tell your friends :D

simply-ux.state-store


action-dispatchercljs

(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.
raw docstring

always-apply-functionscljs

(always-apply-functions current-state reducer-config)

app-statecljs


apply-functions-to-statecljs

(apply-functions-to-state current-state scope functions)

current-statecljs

(current-state)

dispatchcljs

(dispatch & {:keys [action actions reducers scope] :or {actions [action]}})

dispatch-actioncljs

(dispatch-action action reducer-config scope)

dispatchercljs

(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`
raw docstring

dissoc-incljs

(dissoc-in state full-key)

get-action-paramscljs

(get-action-params action)

get-action-typecljs

(get-action-type action)

get-reducercljs

(get-reducer name reducers-config)

merge-incljs

(merge-in state full-key value)

reduce-statecljs

(reduce-state current-state functions)

reducer-config-with-scopecljs

(reducer-config-with-scope reducer-config scope)

reset-statecljs

(reset-state)

scoped-current-statecljs

(scoped-current-state key)

scoped-state-keycljs

(scoped-state-key key)

set-storagecljs

(set-storage storage-atom)

state-has-changed?cljs

(state-has-changed? original-state new-state)

state-storagecljs

(state-storage)

storagecljs


throw-unknown-reducer-errorcljs

(throw-unknown-reducer-error action-type)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close