Closed navaru closed 6 years ago
It looks like they are resolving it in the react-table library. @rantecki has made the change and it needs to get reviewed. I don't know how to reference from another repository.
So it's not related to preact, rantecki caught the error source. Thanks for feedback.
Original example that works: https://codesandbox.io/s/wjrn8wy3R
Exact example using preact-compat: https://codesandbox.io/s/n3o9j013rj Switch the rows count from 10 to 5 and back to 10.
I've checked the react-table source (adding logs) and the children count passed to the TbodyComponent are correct, but when rendered somehow it adds the old children from the virtual-dom, hope it helps.