You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug: When I browse the example address https://kg9xy4.csb.app/ and scroll to the bottom, while loading data, if I scroll back up with the mouse wheel and repeat this process multiple times quickly, an error occurs. The detailed error information is shown in the image below. I suspect that the setState updating data causes the onRequestAppend to trigger, which in turn triggers setState again, leading to an infinite loop.
`
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.
▶ 33 stack frames were collapsed.
eval
/src/App.tsx:39:8
36 |
37 | setTimeout(() => {
38 | e.ready();
Bug: When I browse the example address https://kg9xy4.csb.app/ and scroll to the bottom, while loading data, if I scroll back up with the mouse wheel and repeat this process multiple times quickly, an error occurs. The detailed error information is shown in the image below. I suspect that the setState updating data causes the onRequestAppend to trigger, which in turn triggers setState again, leading to an infinite loop.
![image](https://private-user-images.githubusercontent.com/13929056/384925232-25f4139c-4f19-46fe-84e1-179ec18acace.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTMzNTAsIm5iZiI6MTczODk1MzA1MCwicGF0aCI6Ii8xMzkyOTA1Ni8zODQ5MjUyMzItMjVmNDEzOWMtNGYxOS00NmZlLTg0ZTEtMTc5ZWMxOGFjYWNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE4MzA1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3NDg2YTgzMWMwMzg2MWE3Yjk2YTUyMTA5Yzk1ZmIwM2VhOTA5NWQ3MTE3MTAzOTBlNTc3MjAxNzRiNDQxNGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wUC7Ovzok7rN5iVTyJmejNZPTZr3P1QHajEMWjWvVQ4)
`
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.
▶ 33 stack frames were collapsed.
eval
/src/App.tsx:39:8
36 |
37 | setTimeout(() => {
38 | e.ready();
The text was updated successfully, but these errors were encountered: