Skip to content

Reduce rerenders#16

Merged
chandlerprall merged 8 commits intochandlerprall:feature/virtualized-datagridfrom
flash1293:flash1293/datagrid-rerenders
Jan 26, 2021
Merged

Reduce rerenders#16
chandlerprall merged 8 commits intochandlerprall:feature/virtualized-datagridfrom
flash1293:flash1293/datagrid-rerenders

Conversation

@flash1293
Copy link
Copy Markdown

Based on #15

This PR optimizes some places in the data grid component to not re-render as often before the first view is rendered. It's doing so by removing a redundant resize observer in the main component, preventing unnecessary state updates in the data grid body and only rendering the actual grid if the size has been determined.

@flash1293 flash1293 mentioned this pull request Jan 15, 2021
@chandlerprall chandlerprall merged commit d205559 into chandlerprall:feature/virtualized-datagrid Jan 26, 2021
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

Successfully merging this pull request may close these issues.

2 participants