-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gridlist not updating #6801
Comments
I wanted to mention that I am using react suspense to fetch items in this case, potentially related to #6182 |
I'm not sure what exactly the issue is, but I corrected for the possible/likely duplicate keys and I'm not able to reproduce |
Hey @snowystinger the issue is react suspense queries and gridlist, when we don't use suspense gridlist works as intended. I'm going to redo my minimal repro. |
@snowystinger here is the new repro: https://stackblitz.com/edit/github-dnkquu?file=src%2FApp.tsx |
Looks like setting a |
Thanks for coming back with a new repro. Given how close it is to #6182 I'm going to close this issue and we can continue the conversation over there. |
Provide a general summary of the issue here
Gridlist doesn't seem to re-render/update when
items
change while using react suspense queries, this happens under 2 scenariosand
Works in
1.2.1
but not in1.3.1
, could this be related to the virtualization/collection changes?🤔 Expected Behavior?
For Gridlist to re-render when items change
😯 Current Behavior
Gridlist is not re-rendering/updating even when items change
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
https://stackblitz.com/edit/github-dnkquu?file=src%2FApp.tsx
Version
1.3.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
OSX
🧢 Your Company/Team
LD
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: