Skip to content

Move column definitions out of component code #26297

@ling1726

Description

@ling1726

All column definitions were defined in useMemo calls in documentation examples since the show code panel only shows the code in the example component.

However, this can lead to bad habits, especially since useMemo isn't really needed here and the column definitions can just be declared on file scope

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions