useRealtime not updating on table changes with filtering applied #44
Unanswered
RichardSPrins
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a messaging feature prototype for my nextJS app, and have manually been inserting rows into both my 'conversations', and 'messages' tables expecting to see some updates, but nothing is coming through.
I have some filtering being applied to select criteria for the query to follow which is to be expected with a db query.
Here are my queries:
and here are the different ways I am trying to use these functions inside a React component:
I have even tried running the hook directly inside the React component as seen above for getting messages. but with no success. I am logging these values in a useEffect to observe any changes.
Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions