(create-component-subs component)
(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.
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.
(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
(register-component-subs! c)
Registers subscriptions that will fulfill the given fulcro component's query. The component must have a name as well as any components in its query.
Registers subscriptions that will fulfill the given fulcro component's query. The component must have a name as well as any components in its query.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close