Liking cljdoc? Tell your friends :D

space.matterandvoid.subscriptions.fulcro-eql


->dbclj/s

(->db fulcro-app-or-db)
source

class->registry-keyclj/s

source

create-component-subsclj/s

(create-component-subs component sub-joins-map)

Creates a subscription function that will fulfill the given Fulcro component's query. The component and any components in its query must have a name (cannot be anonymous). the sub-joins-map argument is a hashmap whose keys are the join properties of the component and whose value is a subscription function for normal joins, and a nested hashmap for unions of the union key to subscription. You do not need to provide a subscription function for recursive joins. You do not need to provide a subscription for Fulcro's form-state config join if you component includes that join in its query, a subscription will be created for you for form-state/config.

Creates a subscription function that will fulfill the given Fulcro component's query.
The component and any components in its query must have a name (cannot be anonymous).
the `sub-joins-map` argument is a hashmap whose keys are the join properties of the component and whose value is a
subscription function for normal joins, and a nested hashmap for unions of the union key to subscription.
You do not need to provide a subscription function for recursive joins.
You do not need to provide a subscription for Fulcro's form-state config join if you component includes that join in its query,
a subscription will be created for you for form-state/config.
sourceraw docstring

expand-ident-list-subclj/s

(expand-ident-list-sub layer2-sub component-eql-sub)

Takes a layer2 subscription function and an eql subscription for a component. Returns a function subscription that invokes the eql subscription for each ident in the list of idents returned from the provided layer2-sub.

Takes a layer2 subscription function and an eql subscription for a component.
Returns a function subscription that invokes the eql subscription for each ident in the list of idents returned from the provided `layer2-sub`.
sourceraw docstring

fulcro-data-sourceclj/s

source

get-identclj/s

source

get-queryclj/s

source

missing-valclj/s

source

ncclj/s

(nc args)

Wraps fulcro.raw.components/nc to take one hashmap of fulcro component options, supports :ident being a keyword. Args: :query - fulcro eql query :ident - keyword or function :name -> same as :componentName (fully qualified keyword or symbol) Returns a fulcro component (or a mock version if fulcro is not installed) created by fulcro.raw.components/nc

Wraps fulcro.raw.components/nc to take one hashmap of fulcro component options, supports :ident being a keyword.
Args:
:query - fulcro eql query
:ident - keyword or function
:name -> same as :componentName (fully qualified keyword or symbol)
Returns a fulcro component (or a mock version if fulcro is not installed) created by fulcro.raw.components/nc
sourceraw docstring

query-keyclj/s

source

register-component-subs!clj/s

(register-component-subs! c)

Registers subscriptions that will fulfill the given fulcro component's query. The component and any components in its query must have a name (cannot be anonymous).

Registers subscriptions that will fulfill the given fulcro component's query.
The component and any components in its query must have a name (cannot be anonymous).
sourceraw docstring

walk-fn-keyclj/s

source

xform-fn-keyclj/s

source

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

× close