2 ms·
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 Ma
by diggan 3y ago
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).
- forward-slashed 3y agoThis requires reagent?
- diggan 3y agoI 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 agoI'm using Electric clojure, so no.