Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha: getting the memo() function when calling column.getFacetedUniqueValues() #5882

Open
2 tasks done
wmertens opened this issue Jan 21, 2025 · 1 comment
Open
2 tasks done

Comments

@wmertens
Copy link

TanStack Table version

alpha

Framework/Library version

qwik 1.12

Describe the bug and the steps to reproduce it

I want to get qwik working with SSR in v9. To that end I want to see what the current state is.

I'm just trying the qwik filter example and after I added noSerialize(header) before line 234 of examples/qwik/filters/src/main.tsx to make it work, I get the error

QWIK ERROR column.getFacetedUniqueValues(...).keys is not a function TypeError: column.getFacetedUniqueValues(...).keys is not a function
    at Filter (http://localhost:5173/src/main.tsx?t=1737456595438:141:113)

Inspection shows me that the value is not an object but instead the memo function, and I need to call it to get the actual result (so column.getFacetedUniqueValues()().keys(). What is going wrong?

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

just the repo

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

Maybe, I'll investigate and start debugging

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.
@KevinVandy
Copy link
Member

I think there are a couple of regressions that need to be handled in v9 for faceted values features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants