React Native issue – Too many re-renders. React limits the number of renders to prevent an infinite loop
I want to load the list of all users from an endpoint on the first load of the app. But, I am getting the Too many re-renders. React limits the number of renders to prevent an infinite loop. error while…