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