TanStack Table version
v9.0.0
Framework/Library version
v19.2.8
Describe the bug and the steps to reproduce it
Hi,
While migrating our codebase to Tanstack table v9, we noticed an issue when using the column visibility feature.
We are using the React compiler for some months already.
It's a weird combination of things that introduces the bug.
We notice the behaviour only when extracting the code to render a row in a seperate component and without the directive "no use memo".
See this repo with a small minimal reproduction. We have added some options that you can comment in or out (see lines 167 - 192).
It's a link to a github repo, because for some reason we could not reproduce it in the CodeSandbox.
For now we can circumvent the bug, by using the new <table.FlexRender> component.
Thanks in advance for looking at this.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://github.com/BertVereecken/tanstack-table-bug-repro/blob/main/src/App.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms & Code of Conduct
TanStack Table version
v9.0.0
Framework/Library version
v19.2.8
Describe the bug and the steps to reproduce it
Hi,
While migrating our codebase to Tanstack table v9, we noticed an issue when using the column visibility feature.
We are using the React compiler for some months already.
It's a weird combination of things that introduces the bug.
We notice the behaviour only when extracting the code to render a row in a seperate component and without the directive "no use memo".
See this repo with a small minimal reproduction. We have added some options that you can comment in or out (see lines 167 - 192).
It's a link to a github repo, because for some reason we could not reproduce it in the CodeSandbox.
For now we can circumvent the bug, by using the new <table.FlexRender> component.
Thanks in advance for looking at this.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://github.com/BertVereecken/tanstack-table-bug-repro/blob/main/src/App.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms & Code of Conduct