Wrappers for React.js Hooks
Wrappers for React.js Hooks
(callback f)
(callback f deps)
(context v)
(debug v)
(debug v fmt)
(effect! setup-fn)
(effect! setup-fn deps)
(imperative-handle ref create-handle deps)
(unwrap this)
(layout-effect! setup-fn)
(layout-effect! setup-fn deps)
(maybe-js-deps deps)
(memo f)
(memo f deps)
(ref value)
(state value)
(subscribe {:keys [get-current-value subscribe]})
(with-deps-check [prev-deps] f deps)
(with-effect deps & body)
Takes optional vector of dependencies and body to be executed in an effect.
Takes optional vector of dependencies and body to be executed in an effect.
(with-layout-effect deps & body)
Takes optional vector of dependencies and body to be executed in a layout effect.
Takes optional vector of dependencies and body to be executed in a layout effect.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close