Liking cljdoc? Tell your friends :D
ClojureScript only.

html-cljs.hooks

all the hooks for this project.

a hook is used with the cmp macro. A hook is a function that accepts any number of params that the user supplies and returns a function that accepts the vdom atom as its sole argument. The return value of that is the user facing value that is returned in the hook-calls part of the component creation. This is so the vdom-state atom may be passed in and used by the hook without the user ever knowing about the inner workings/lifecycle of the library.

all the hooks for this project.

a hook is used with the cmp macro. A hook is a function that accepts any
number of params that the user supplies and returns a function that accepts
the vdom atom as its sole argument. The return value of that is the
user facing value that is returned in the hook-calls part of the component
creation. This is so the vdom-state atom may be passed in and used by the
hook without the user ever knowing about the inner workings/lifecycle of the
library.
raw docstring

use-dom-elcljs

(use-dom-el)

use-statecljs

(use-state init)

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

× close