How to pass external functions to Table Columns
Since tan-stack is saying to have a stable reference to the columns, how to pass external functions like state-setters to the columns, which in turn can be passed to the components used in
cell
and header
properties.
tried the hooks approach along with columnHelper
(to get the correct types.). This resulted in more re-renders.
something like
is acceptable?
Or is there any approach?0 Replies