My react functional component is infinite rendering. I do not have any solutions for the same
Approaches I tried:
- Identified the function that is causing the issue and wrapped it in a useCallback()
- Wrapped the entire component with react.memo()
New contributor
Prashanth K.A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.