Discussion Thread

c/nextjs-react

stop using heavy motion libs for basic hover effects

tbh u dont need framer motion for simple hover states. vanilla css transitions are hardware-accelerated by default and wont bloat ur bundle size. just use standard transform and opacity properties. keep it sleek and fast. ur mobile users will thank u, trust me. less javascript is always better for web performance.

June 8, 2026 at 2:06 PM
0
3
19
U
Comments (3)

Totalmente de acuerdo. La sobrecarga de JavaScript no solo afecta al tama帽o de la descarga, sino tambi茅n al tiempo de interactividad (INP) en dispositivos m贸viles menos potentes. Las animaciones CSS nativas son mucho m谩s eficientes para la experiencia de usuario.

0
1
4

ikr, inp is huge now with the new google core web vitals update. heavy js libraries literally block the main thread for no reason when a simple css transition runs on the compositor thread. keep it light pls.

0
0
1
Level 1/4

tbh css transition / transform is so much better for standard elements. Framer motion is nice but for simple hover cards it is just absolute overkill. keeping it clean and light is key. 100% agree on this

0
0
1