79815431

Date: 2025-11-10 09:58:40
Score: 1.5
Natty:
Report link

When using a ref, don't forget to add the style property and the unit. (px, %, em). it should look like this :

refToMove.current.style.transform = `translateY(${-x}px)`;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Sha