Why does `useReactTable` need `columns` and `data` to be mutable?
I was trying to use tanstack table for the first time, and my API is typed as deeply
readonly
, and I'm surprised tanstack table seems to require "write permissions" on the data
and columns
arrays
I know I often get annoyed myself when I have to write readonly
or ReadonlyArray<>
everywhere in my types, so I'm hoping this is just the reason why it's "requesting write permissions", but maybe it's actually mutating the arrays?0 Replies