79181149

Date: 2024-11-12 12:47:40
Score: 2
Natty:
Report link

Can I take a look at the component?

Also, I think you should focus on logging the values of the state every time a component re-renders, instead of relying on the 'Yes' and 'No' output, if you want to catch the error faster and solve for it in the most effective manner.

Everytime, a state/prop changes in the component, you would get a log and you can check if there is a time when the state is being set wrongly or something.

You could also alternatively use a debugger.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can I
  • Low reputation (0.5):
Posted by: Hamza Murtaza