Skip to content

Tanstack Query queryOptions API #147

Open
@oscartbeaumont

Description

Add a Language implement that can something like:

export const commandOne = queryOptions({
   queryKey: [....] as const,
   queryFn: () => commands.someCommand()
})

So it could be used like createQuery(() => commandOne).

The queryOptions API allows spreading so we wouldn't allow configuring custom options, that would be on the end-user.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions