Liking cljdoc? Tell your friends :D

fulcro.client.util


first-nodeclj/s

(first-node react-class sequence-of-react-instances)

Finds (and returns) the first instance of the given React class (or nil if not found) in a sequence of instances. Useful for finding a child of the correct type when nesting react components.

Finds (and returns) the first instance of the given React class (or nil if not found) in a sequence of instances. Useful
for finding a child of the correct type when nesting react components.
raw docstring

force-renderclj/s

(force-render reconciler)
(force-render reconciler keywords)

Re-render components. If only a reconciler is supplied then it forces a full React DOM refresh.

If you supply an additional vector of keywords and idents then it will try to rerender only those components that mention those things in their queries.

Re-render components. If only a reconciler is supplied then it forces a full React DOM refresh.

If you supply an additional vector of keywords and idents then it will try to rerender only those components that mention
those things in their queries.
raw docstring

integrate-identclj/s

DEPRECATED: Now defined in fulcro.client.mutations/integrate-ident*

DEPRECATED: Now defined in fulcro.client.mutations/integrate-ident*
raw docstring

react-instance?clj/s

(react-instance? react-class react-instance)

Returns the react-instance (which is logically true) iff the given react instance is an instance of the given react class. Otherwise returns nil.

Returns the react-instance (which is logically true) iff the given react instance is an instance of the given react class.
Otherwise returns nil.
raw docstring

strip-parametersclj/s

(strip-parameters query)

Removes parameters from the query, e.g. for PCI compliant logging.

Removes parameters from the query, e.g. for PCI compliant logging.
raw docstring

transit-clj->strclj/s

(transit-clj->str coll)
(transit-clj->str coll opts)

Use transit to encode clj data as a string. Useful for encoding initial app state from server-side rendering.

Use transit to encode clj data as a string. Useful for encoding initial app state from server-side rendering.
raw docstring

transit-str->cljclj/s

(transit-str->clj str)
(transit-str->clj str opts)

Use transit to decode a string into a clj data structure. Useful for decoding initial app state when starting from a server-side rendering.

Use transit to decode a string into a clj data structure. Useful for decoding initial app state when starting from a server-side rendering.
raw docstring

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

× close