-
Notifications
You must be signed in to change notification settings - Fork 216
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
Fixes bug where DataTable component throws error when underlying columns in data change #2827
base: next
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jantaks, seems like there's still an issue with the DataTable
. Our base-path
and prerender
E2E tests are failing. I pulled down your branch and tried to run e2e/base-path
and when I go to the /table-row-links
page, everything freezes. Seems like there's some infinite reactivity update happening.
Background:
I wanted to create a DataTable for the result of a PIVOT operation when i found that this component could not deal with the underlying column IDs changing.
The issue is caused by 2 pieces of state (columns and columSummary) that are not updated in the correct sequence during the rendering process.
See storybook: /story/viz-datatable--reactive-datatable
Before:
After:
Checklist