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
All column definitions were defined in
useMemocalls in documentation examples since theshow codepanel only shows the code in the example component.However, this can lead to bad habits, especially since
useMemoisn't really needed here and the column definitions can just be declared on file scope