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.
basically a mini react with a virtual dom and a diffing algorithm need to fix the child element problem and force id's on child elements because i'm just using an inefficient algorithm rn
basically a mini react with a virtual dom and a diffing algorithm need to fix the child element problem and force id's on child elements because i'm just using an inefficient algorithm rn
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close