Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
diggan
· 3y ago · 0 comments
Unsure about vanilla JS, but for ClojureScript, import the MagicMotion component from react-magic-motion and then wrap whatever you want to automate with the MagicMotion component, seems to be enough (but I haven't tried myself).
Comments
[–]
forward-slashed
3y ago
This requires reagent?
[–]
diggan
OP
3y ago
I guess you could use a React component somehow without Reagent, but if you're using ClojureScript you're most likely already using Reagent I guess?
[–]
forward-slashed
3y ago
I'm using Electric clojure, so no.