Skip to content
Discussion options

You must be logged in to vote

I think that for globals like that, it's worth checking if they can be stored globally somewhere else.

The other solution is to call these composables within the function of defineQueryOptions, but then you are responsible for calling it only in composable places, it might be even be worth it to rename getSomeQueryOptions to useSomeQueryOptions

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@akfakf0509
Comment options

@posva
Comment options

posva May 7, 2026
Maintainer

Answer selected by akfakf0509
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants