Wrapper around react hooks.
Many functions take a deps
argument, corresponding to their React
equivalent. This is an argument which can either be a a vector of
deps or a special keyword:
vector of deps Use specified deps explicitly. :always Re-run hook on every render, equivalent to passing no deps vector to the hook. :once Equivalent to using [] as the deps. :auto-deps Infer the dependencies automatically from the code by finding local vars. Not available for the function form of a hook.
Wrapper around react hooks. Many functions take a `deps` argument, corresponding to their React equivalent. This is an argument which can either be a a vector of deps or a special keyword: vector of deps Use specified deps explicitly. :always Re-run hook on every render, equivalent to passing no deps vector to the hook. :once Equivalent to using [] as the deps. :auto-deps Infer the dependencies automatically from the code by finding local vars. Not available for the function form of a hook.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close