r/reactjs • u/KevinVandy656 • Aug 12 '26
News We Released TanStack Table V9 Last Week - Finally Compatible with the React Compiler
https://tanstack.com/table/latest/docs/framework/react/guide/migratingIn case you missed it, TanStack Table V9 was released as stable last week.
This release entailed huge refactors over the past couple of years that ended up becoming practically a full rewrite when all was said and done, though much of the API surface that you're familiar with is still there. The state management layer was completely rewritten on top of our own internal TanStack Store library, which improved compatibility and performance with all the framework adapters we offer, including React and the React Compiler.
Other improvements include a new tree-shakable feature/plugin architecture that lowers the bundle size of the average table, better type-safety throughout with new utilities and per table meta, much less memory consumption and better processing performance, a few new features like cell spanning and cell selection, hundreds of bug fixes, and a lot more, but you can read the above linked migration guide for the full details.
On top of all that, I put in a lot of time into reorganizing and rewriting major portions of the docs, including many more introductory guides, and more examples than ever that showcase more of our features, integrations with other TanStack libraries, and usage with most of the popular UI component libraries out there.
15
u/MonsoonHD Aug 12 '26
Seems none of the examples work for me on the site, using Arc.
I tried opening the Stackblitz version in Chrome and Safari and it didn't work either.
8
u/aza547 Aug 12 '26
Really appreciate the effort you've put into the migration guide, I migrated my react table usage to v9 at the weekend and it was pretty smooth sailing.
One thing that wasn't obvious to me was what the react compiler support in v9 actually implied. Is it now safe to drop all memoization which I think was required in v8 to provide stable references to the useTable hook? Further, what is actually broken in v8 with the react compiler enabled?
Apologies if this is in the docs and I've just missed it. Thanks for your efforts maintaining a great library.
2
u/Outrageous-Chip-3961 Aug 15 '26
I used this two years ago so thanks for the hard work you've put into it. My team will be picking up a new product build soon and I will probably be reaching for tanstack table, so this is great news.
1
u/Sorry-Joke-1887 Aug 12 '26
Cool 😎
1
u/Mob_Abominator Aug 12 '26
You guys are the best!
-6
u/VolumeActual8333 Aug 12 '26
Everyone's celebrating the React Compiler support but the comments about examples failing on Arc and Safari are telling. I've been burned too many times by "works in Chrome" demos that hide memory leaks in the actual implementation. The compiler might eliminate useMemo, but it won't save you from the 10,000 row re-render when someone resizes a column if the virtualization isn't bulletproof.
0
u/Hamburgerfatso Aug 13 '26
Wait are you the material/mantine react table guy? Pls update them as well, tanstack table is great but omg hooking up my own ui for it is a pain.
0
u/bigabig Aug 13 '26
Any chance you will update MaterialReactTable as well?
0
u/West-Welcome8247 Aug 13 '26
Good stuff Kevin!!
Have followed your work for a while and it has always been very high value