4 comments

[ 4.8 ms ] story [ 19.6 ms ] thread
When a tool like Framer Motion is available, why write many lines of CSS code to create an animation? Web applications look more exciting and beautiful when they are animated.
Because it adds unnecessary bloat for something that's negligibly worth it.
(comment deleted)
We used Framer Motion to animate parts of our landing page but eventually turned against it since the package increased our JS bundle size by ~25kb. We managed to completely replace it with CSS and Observer API instead, YMMV.