estimateSize option causes infinite loop #587
Unanswered
spacedev75
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Same issue here, commenting the estimated size will fix the infinite loop. I'm using "@tanstack/react-virtual": "^3.0.0-alpha.0" |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I just updated from 3 beta to alpha and I got this error :
Unhandled Runtime Error 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.
this error can be avoided when I comment the estimateSize option when call the hook but I have inaccurate element sizes..
Any help would be much appreciated,
Thanks
Beta Was this translation helpful? Give feedback.
All reactions