79327057

Date: 2025-01-03 16:35:57
Score: 1.5
Natty:
Report link

I have bumped into this issue: setState hook does't change state invoking from child

Long story short fix is simple: just add event.stopPropagation() before updating state of modal visibility to false. Thanks everyone

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Roman Alekseiev