We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7863cf6 commit 8389abdCopy full SHA for 8389abd
packages/data-objectql/src/hooks.ts
@@ -78,7 +78,7 @@ export interface UseObjectQLMutationOptions {
78
export function useObjectQL(options: UseObjectQLOptions): ObjectQLDataSource {
79
return useMemo(
80
() => new ObjectQLDataSource(options.config),
81
- // Serialize the entire config to detect any changes
+ [options.config]
82
[JSON.stringify(options.config)]
83
);
84
}
0 commit comments