skip to Main Content

Reactjs – How to avoid "Too many re-renders. React limits the number of renders to prevent an infinite loop."

I am using react typescript, redux toolkit and material UI. I am getting this error in while calling the API: Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. at renderWithHooks (http://127.0.0.1:5173/node_modules/.vite/deps/chunk-QJV3R4PZ.js?v=8a99eba5:12178:23) at mountIndeterminateComponent…

VIEW QUESTION
Back To Top
Search