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

simplify internal UI table state management #1394

Open
heswell opened this issue Jun 19, 2024 · 0 comments
Open

simplify internal UI table state management #1394

heswell opened this issue Jun 19, 2024 · 0 comments

Comments

@heswell
Copy link
Contributor

heswell commented Jun 19, 2024

we are jumping through some hoops at the moment to maintain the correct state in tableConfig within vuu-table. We can simplify logic by simply making tableConfig a controlled prop. It can be controlled/uncontrolled at the Table level and controlled at the inner TableCore level.
This can be seen in the code that currently sets column widths on tableConfig .

Need to be careful, many operations update tableConfig. We want to avoid unnecesary renders.

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

1 participant