Column visiblity feature broken in combination with React compiler
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TanStack/table
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Tutte le issue di TanStack/table
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/inspector#2458 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
carbon-design-system/ibm-products#9907 ·