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

select should take cacheData and return queryData #11

Open
illusionalsagacity opened this issue Mar 19, 2024 · 0 comments
Open

select should take cacheData and return queryData #11

illusionalsagacity opened this issue Mar 19, 2024 · 0 comments

Comments

@illusionalsagacity
Copy link

https://github.com/rescriptbr/react-
query/blob/b202f20611c29316991bb0dbe439d8cb87f3c0b0/src/ReactQuery_Query.res#L22

The way it's typed now this option isn't usable, as you have to return the exact type that's passed in instead of transforming it.

https://tanstack.com/query/v4/docs/framework/react/reference/useQuery

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

1 participant