Skip to content

How about improving the SuspenseQuery Hooks to display an error through type checking when using skipToken? #8078

Answered by TkDodo
gwansikk asked this question in Ideas
Discussion options

You must be logged in to vote

yeah should be as easy as queryFn: Exclude<options['queryFn'], SkipToken> but not sure. Do you want to give it a try to contribute it?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gwansikk
Comment options

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