79428046

Date: 2025-02-10 19:04:59
Score: 2.5
Natty:
Report link

Every time you set a state the affected components will have to rerender. Every time you render your component you end up calling checkValue which sets a state and triggers another rendering.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hugo Fleitas