Skip to content
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

Bug in collection rendering #7535

Open
gregberge opened this issue Dec 18, 2024 · 1 comment
Open

Bug in collection rendering #7535

gregberge opened this issue Dec 18, 2024 · 1 comment

Comments

@gregberge
Copy link

Provide a general summary of the issue here

I am using a tree, passing items to it and when I re-render the component with new items, previous items are still cached.

There is some Suspense boundaries in my app. I think the current approach does not work well with Suspense.

I tried to dive in the code especially Document to see what's going on but I can't really find the issue.

🤔 Expected Behavior?

The tree should update when items change.

😯 Current Behavior

The tree render previous items.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

I don't have time to provide a good repro for this. But it's just a simple Tree, you pass items and you swap them to other items.

Version

v1.5.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Mac OS

🧢 Your Company/Team

GitBook

🕷 Tracking Issue

No response

@snowystinger
Copy link
Member

Possibly related #6182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants