Liking cljdoc? Tell your friends :D

fulcro.client.impl.data-targeting


append-target?clj/s

(append-target? t)
source

append-toclj/s

(append-to target)
source

integrate-identclj/s

(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:

  • 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:

- 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

multiple-targetsclj/s

(multiple-targets & targets)
source

multiple-targets?clj/s

(multiple-targets? t)
source

prepend-target?clj/s

(prepend-target? t)
source

prepend-toclj/s

(prepend-to target)
source

process-targetclj/s

(process-target state source-path target)
(process-target state source-path target remove-ok?)
source

replace-atclj/s

(replace-at target)
source

replacement-target?clj/s

(replacement-target? t)
source

special-target?clj/s

(special-target? target)
source

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

× close