What to pass to createTable for state
, onStateChange
and renderFallbackValue
#4804
Unanswered
marceloverdijk
asked this question in
Q&A
Replies: 2 comments 5 replies
-
I also tried with:
but this gives:
Not sure what is causing this. Basically I want to use tanstack table in a vanilla js/ts environment but have no idea how to set it up. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We've gotten reports that devs using Jet Brains IDEs get these false errors for some reason. None of those options are required. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Tanstack Table using vanilla js/ts (so without any framework.
The docs are very limited for this use case as it only states:
So I went ahead with it and tried something:
I initially omitted
state
,onStateChange
andrenderFallbackValue
from the options but then VS code was complaining they were required... So I let VS code add them, but what to actually pass to them as value?VS code is now complaining that
status
cannot beundefined
.Beta Was this translation helpful? Give feedback.
All reactions