Skip to content

Bug in collection rendering #7535

@gregberge

Description

@gregberge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions