Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(react-api-client): fix react query key object hashing for us…
…eAllCommandsAsPreSerializedList (#15188) React query does not properly handle objects passed in useQuery's queryKey array argument that contain keys with `undefined` values. Here, in `useAllCommandsAsPreSerializedList`, I map undefined values to null so that they are properly cached and do not trigger a refetch when the host object does not change.
- Loading branch information