How to create a custom useQuery hook with optional configuration options (useQueryOption)❓ · TanStack query · Discussion #3227 · GitHub
![Dominik on Twitter: "I made a quick POC for a useQuery hook that's aware of http headers - the example sets staleTime according to maxAge see it in action here: https://t.co/N02Kajatls https://t.co/DGMWzUIkBr" / Dominik on Twitter: "I made a quick POC for a useQuery hook that's aware of http headers - the example sets staleTime according to maxAge see it in action here: https://t.co/N02Kajatls https://t.co/DGMWzUIkBr" /](https://pbs.twimg.com/media/EyI9g-1XIAMwkwu.jpg:large)
Dominik on Twitter: "I made a quick POC for a useQuery hook that's aware of http headers - the example sets staleTime according to maxAge see it in action here: https://t.co/N02Kajatls https://t.co/DGMWzUIkBr" /
![How to Manually Refetch React useQuery Hook Data - TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL | newline How to Manually Refetch React useQuery Hook Data - TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL | newline](https://d2uusema5elisf.cloudfront.net/courses/tinyhouse-react-masterclass/module_7/lesson_7.5/public/assets/use-effect-missing-dependency-II.png)
How to Manually Refetch React useQuery Hook Data - TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL | newline
![Cannot use a hook (like useQuery) inside a function component that will be rendered in a class component. [ERROR: Object(...) is not a function] · Issue #842 · TanStack/query · GitHub Cannot use a hook (like useQuery) inside a function component that will be rendered in a class component. [ERROR: Object(...) is not a function] · Issue #842 · TanStack/query · GitHub](https://user-images.githubusercontent.com/34867523/89596166-7d402700-d824-11ea-9525-af64a47b25e5.png)