Skip to content
Source
Sign inSign up
TanStack/table

SolidTable cells not reactive #4702

Closedemdede(GitHub profile, opens in a new tab) opened this issue 2 comments

Describe the bug

If passed a Store which features granular reactivity, TanStack table cannot process changes. Is this by design or just not included? Clearly, this is mostly a React library but seeing that there is an offical SolidJS adapter and it is a rather straightforward use-case I am questioning if this really is a bug or whether I am doing something wrong?!

Your minimal, reproducible example

https://codesandbox.io/s/runtime-bird-l1mtgs?file=/src/App.tsx

Steps to reproduce

Edit one of the fields and watch the console. The effect that watches Store state changes triggers, but the new value does not propagate down to the cell. If the whole Data[] is replaced it works (either as a Signal or as a property of a Store object), but obviously it's something that should be avoided if possible.

Expected behavior

The internal cell value should update when the underlying Data[] changes.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

Windows, Chrome

react-table version

8.7.9

TypeScript version

4.9.5

Additional context

No response

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.
  1. KevinVandy added labelssolid

  2. The solid-table adapter has been overhauled in v9. Give it a look

  3. KevinVandy closed this

Sign in to join this conversation.