Skip to content

simplify internal UI table state management #1394

@heswell

Description

@heswell

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.

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