Live data from Hacker News

Show HN: React-magic-motion, a package to automatically animate your components

react-magic-motion.com

1–10 of 16 posts

Show HN: React-magic-motion, a package to automatically animate your components

#1
react-magic-motion is a npm package for react.js that gives you a component named . All children of this MagicMotion tag will have all their layout changes animated.

This automatic animation built on top of framer-motion, so that means that you will get all of its features as well (spring animation, shared layout animations, etc...).

https://www.react-magic-motion.com/

https://github.com/etesam913/react-magic-motion

Show HN: React-magic-motion, a package to automatically animate your components
react-magic-motion.com

Re: Show HN: React-magic-motion, a package to automatically animate your components

#3

How does it compare to the infamous framer motion?

It's in the post:

> This automatic animation built on top of framer-motion, so that means that you will get all of its features as well (spring animation, shared layout animations, etc...).

Re: Show HN: React-magic-motion, a package to automatically animate your components

#8

How would one adapt this to vanilla js (or clojurescript)?

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).

Re: Show HN: React-magic-motion, a package to automatically animate your components

#10
post #9

How does it compare to the infamous framer motion?

Why is framer infamous? Genuine question - I’ve only used it occasionally

It's not, I assume the parent is using "famous" and "infamous" interchangeably, which is incorrect.
Post reply on HN