react-query
react-query copied to clipboard
select should take `cacheData and return `queryData
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