Table (v8) vs TableInstance (v7) #4116
Unanswered
petegriffith
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Yes, I'm finding the same problem and don't know how to solve it! Did you figure it out? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In v7,
useTable
returns aTableInstance
while in v8,useReactTable
returns aTable
. I understand the migration guide isn't ready yet, but is there a simple explanation available about how to think about one vs the other? Are they materially different objects?One difference is that
useTable().headerGroups
(v7) returns a different list of headers than useReactTable().useHeaderGroups() (v8). In my current migration, I'm struggling to figure out how to get v8 to return a list similar to what v7 returned.Beta Was this translation helpful? Give feedback.
All reactions