日本語のみで絞り込む
In react-query version 2.12.1 , the typescript types changed for setQueryData and it doesn't accept an undefined value anymore. For context, this is to get ...
React Query is now written in TypeScript to make sure the library and your projects are type-safe! Things to keep in mind: TanStack Query follows ...
2021/5/16 -Combine two of the most powerful tools for React Apps to produce great user experience, developer experience and type safety.
2020/5/21 -Currently the setQueryData expects data to be set, as it also sets the query to a success state. What would you expect to happen when you ...
2024/12/2 -React Query is a powerful data-fetching library that simplifies data synchronization, caching, and updates for modern React applications.
2022/6/14 -I was reading on how it is possible to update existing query data with Query Client's setQueryData method. Here is how I transform my data. { ...
2024/6/14 -React Query comes with an opinionated way of fetching and updating data. React Query makes it easier to manage complex data fetching and caching ...
2021/3/3 -This post covers how we can use React Query with TypeScript to fetch data. We'll also cover some of the benefits React Query brings.
2022/7/1 -hi react people. i am a little bit lost about react-query with typescript. what is the correct way to tell useQuery 'this is returned data type'
GraphQL Code Generator plugin for generating React Query hooks. Supports TypeScript and Flow. Package: @graphql-codegen/typescript-react-query. Version: 7.0.