(base64-decode str)
(base64-encode str)
Encode a string to UTF-8 and encode the result to base 64
Encode a string to UTF-8 and encode the result to base 64
(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.
(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.
DEPRECATED: Now defined in fulcro.client.mutations/integrate-ident*
DEPRECATED: Now defined in fulcro.client.mutations/integrate-ident*
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close