Skip to content

RAC - Table performance very slow when rendering new collections. #8094

@Jarrku

Description

@Jarrku

Provide a general summary of the issue here

Latest react-aria-components seems to have introduced something that affects dynamic rendering of table elements.
It seems this only seems to happen in Dev mode. When running in production mode, I can't seem to trigger the problem.

🤔 Expected Behavior?

I expect the table to trigger some rerenders when changing items, but not with the slowness currently present.

😯 Current Behavior

Table rerenders very slowly when using items with new IDs

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://stackblitz.com/edit/remix-run-remix-cmjxmb21?file=app%2Froutes%2F_index.tsx

Toggling a search column triggers a new data set.

Version

1.8.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Mac

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions