v24.35.0
sainak started a discussion in ohcnetwork/carecare
Should we move over to react-query?
shivankacker started a discussion
https://www.npmjs.com/package/@tanstack/react-query
React Query is a powerful package for managing APIs with type safety, caching, infinite queries, and inbuilt state management. It is almost the standard for managing APIs in react.
One of the main reasons are developer experience, and ease of maintenance. Lets take an example using the current request component in our codebase
const [loading, setLoading] = useState(false)
const [errors, setErrors] = useStat...
v24.37.0
sainak started a discussion in ohcnetwork/carecare
v24.38.0
sainak started a discussion in ohcnetwork/carecare