Description
openedon Apr 5, 2018
Edit by @gwwar: I'd recommend for any content we need to manage that we have a simple pager instead of an infinite list. Infinite lists are usually better for consuming content.
When scrolling through the people list (at /people/team/:site), I somehow triggered an infinite loop where the InfiniteList component keeps trying to update state. I end up with an unresponsive page, and this error:
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops. The above error occurred in the <InfiniteList> component
I discovered this on a site with 22 people, replicated on a site with 734 users, but could not replicate on a site with 2 users (there was no scroll).
This is on Mac OS/Chrome.
Update by @mattsherman:
As mentioned in #25609, this also happens in the /people/followers/{site} section.
