Skip to content

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

Open
@wmertens

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions