(dispatch ctx actions)Dispatch the actions with the ctx map. The ctx map is equalivent with replicant-data
Dispatch the actions with the ctx map. The ctx map is equalivent with replicant-data
(dispatch-js replicant-data actions)Same as dispatch, but to be used only from within js
Same as dispatch, but to be used only from within js
(init opts db ctx render-fn enrichments)Initialize convey
Initialize convey
- opts
{:all-sync? #{true false}} - set this to sync all events and skip the event router
- db - which db you want to use. can be an atom, datascript, etc
- ctx - static ctx map. will be used when an ctx map is created for an action
- render-fn - what will be used to render after the event router has finished all events
- enrichments - enrichment map(protect actions)Protect actions from enrichments
Protect actions from enrichments
(reg-action action-name action-fn)Register an action
Register an action
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 |