Liking cljdoc? Tell your friends :D

fulcro.inspect.helpers


all-appscljs

(all-apps state)
source

comp-app-uuidcljs

(comp-app-uuid comp)

Read app uuid from a component

Read app uuid from a component
sourceraw docstring

create-entity!cljs

(create-entity! {:keys [state ref]} x data & named-parameters)
source

deep-remove-refcljs

(deep-remove-ref state ref)
source

get-in-pathcljs

(get-in-path state path)

Like get-in, but will resolve path before reading it.

Like get-in, but will resolve path before reading it.
sourceraw docstring

integrate-identcljs

(integrate-ident state ident & named-parameters)

Integrate an ident into any number of places in the app state. This function is safe to use within mutation implementations as a general helper function. The named parameters can be specified any number of times. They are:

  • set: A vector (path) to a list in your app state where this new object's ident should be set.
  • append: A vector (path) to a list in your app state where this new object's ident should be appended. Will not append the ident if that ident is already in the list.
  • prepend: A vector (path) to a list in your app state where this new object's ident should be prepended. Will not append the ident if that ident is already in the list.
  • replace: A vector (path) to a specific location in app-state where this object's ident should be placed. Can target a to-one or to-many. If the target is a vector element then that element must already exist in the vector.
Integrate an ident into any number of places in the app state. This function is safe to use within mutation
implementations as a general helper function.
The named parameters can be specified any number of times. They are:
- set: A vector (path) to a list in your app state where this new object's ident should be set.
- append:  A vector (path) to a list in your app state where this new object's ident should be appended. Will not append
the ident if that ident is already in the list.
- prepend: A vector (path) to a list in your app state where this new object's ident should be prepended. Will not append
the ident if that ident is already in the list.
- replace: A vector (path) to a specific location in app-state where this object's ident should be placed. Can target a to-one or to-many.
 If the target is a vector element then that element must already exist in the vector.
sourceraw docstring

matching-appscljs

(matching-apps state app-id)
source

merge-entitycljs

(merge-entity state x data & named-parameters)
source

normalize-idcljs

(normalize-id id)
source

persistent-set!cljs

(persistent-set! comp local-key storage-key value)
source

pprintcljs

(pprint x)
source

query-componentcljs

(query-component this)
(query-component this focus-path)
source

ref-app-idcljs

(ref-app-id state ref)
source

ref-app-uuidcljs

(ref-app-uuid ref)

Extracts the app uuid from a ident.

Extracts the app uuid from a ident.
sourceraw docstring

remote-mutationcljs

(remote-mutation {:keys [ast ref]} key)
source

remove-edge!cljs

(remove-edge! {:keys [state ref]} field)
source

resolve-pathcljs

(resolve-path state path)
source

swap-entity!cljs

(swap-entity! {:keys [state ref]} & args)
source

swap-in!cljs

(swap-in! {:keys [state ref]} path & args)
source

update-matching-appscljs

(update-matching-apps state app-id f)
source

vec-remove-indexcljs

(vec-remove-index i v)
source

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

× close