Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(react-query): recommend against using server actions in queryFn
Update the useQuery documentation to clarify that server actions should not be used in `queryFn`. Server actions are meant for mutations, run serially, and cannot execute in parallel, potentially leading to unexpected behavior. Recommend using API routes instead for data fetching. Closes TanStack#7934
- Loading branch information