79486659

Date: 2025-03-05 13:43:33
Score: 2.5
Natty:
Report link

When u need to update the state with a condition logic for multiple values we prefer using useReducer hook, Check the line for further reference

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Hari