We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537a805 commit 577e0d2Copy full SHA for 577e0d2
demos/react-supabase-todolist/src/app/views/todo-lists/edit/page.tsx
@@ -19,6 +19,7 @@ import {
19
} from '@mui/material';
20
import Fab from '@mui/material/Fab';
21
import { usePowerSync, useQuery } from '@powersync/react';
22
+import { DEFAULT_WATCHED_QUERY_DIFFERENTIATOR } from '@powersync/web';
23
import React, { Suspense } from 'react';
24
import { useParams } from 'react-router-dom';
25
@@ -58,7 +59,10 @@ const TodoEditSection = () => {
58
59
created_at DESC,
60
id
61
`,
- [listID]
62
+ [listID],
63
+ {
64
+ differentiator: DEFAULT_WATCHED_QUERY_DIFFERENTIATOR
65
+ }
66
);
67
68
const [showPrompt, setShowPrompt] = React.useState(false);
0 commit comments