Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Column visiblity feature broken in combination with React compiler

Aperta
#6,524 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Inizia con la riproduzione collegata in src/App.tsx, in particolare con le opzioni intorno alle righe 167–192, ed eseguila con TanStack Table v9, React 19.2.8 e il compilatore React abilitato. Riproduci il problema di visibilità delle colonne quando il rendering delle righe viene estratto in un componente separato, quindi verifica che il passaggio da una colonna all’altra funzioni senza affidarti al workaround FlexRender segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Lingua principale
TypeScript
Stelle
28.4k
Fork
3.6k
Merge medio
1g 1h
PR unite (30g)
7

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/table

Tutte le issue di TanStack/table

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.