How do we call a recursive function in react js using class based component. tried almost all the ways its not taking the inner function call.
please find the below c