79376639

Date: 2025-01-22 05:52:00
Score: 3
Natty:
Report link

In React you don't usually access the DOM directly, you let React do that for you. Using React refs is a way to do it. You do not need to assign ids this way or use other query selectors.

This answer goes into details: https://stackoverflow.com/a/69260293/13637489

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eghizio