r/Clojurescript • u/httptoolkit • Feb 07 '19
What React Hooks mean for ClojureScript
https://juxt.pro/blog/posts/react-hooks-raw.html
15
Upvotes
r/Clojurescript • u/httptoolkit • Feb 07 '19
2
u/oneto018 Feb 08 '19 edited Feb 08 '19
There is also this wonderful thin wrapper. https://github.com/Lokeh/hx Using hooks with this https://github.com/Lokeh/hooks-demo another one using popular react third party animation hook https://github.com/oneto018/shadow-cljs-react/blob/master/src/main/acme/app/counter.cljs#L48
ps: for some reason https://github.com/rauhs/hicada didn't work with shadow-cljs. it was complaining clj cannot be included in cljs project