(deps)
(deps a)
(deps a b)
(deps a b c)
(deps a b c d)
(deps a b c d e)
(deps a b c d e f)
(deps a b c d e f g)
(deps a b c d e f g h)
(deps a b c d e f g h & rest)
(memo' component equals?)
A raw variant of React.memo.
A raw variant of React.memo.
(mount element node)
Add element to the DOM tree. Idempotent. Subsequent mounts will just update element.
Add element to the DOM tree. Idempotent. Subsequent mounts will just update element.
(portal element node)
Render element
in a DOM node
that is ouside of current DOM hierarchy.
Render `element` in a DOM `node` that is ouside of current DOM hierarchy.
(ref-val ref)
Given state and ref handle, returns React component.
Given state and ref handle, returns React component.
(unmount node)
Removes component from the DOM tree.
Removes component from the DOM tree.
(use-fn f)
(use-fn deps f)
A convenient alias to useCallback
A convenient alias to useCallback
(use-var initial)
A custom hook for define mutable variables that persists on renders (based on useRef hook).
A custom hook for define mutable variables that persists on renders (based on useRef hook).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close