Refine LiveProvider with Hasura #1816
vadim-roshuor
started this conversation in
General
Replies: 2 comments 9 replies
-
Hey @vadim-roshuor , |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @vadim-roshuor , A minor mistake you made is adding the Actually, const {tableProps} = useTable<IProduct>({
initialSorter: [
{
field: "id",
order: "asc",
},
],
metaData: {
fields: [
"id",
'name'
],
},
liveMode:"auto",
onLiveEvent: (event: any) => {
console.log("event0", event);
return event;
},
}); |
Beta Was this translation helpful? Give feedback.
9 replies
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.
-
Hey!)
I'm trying to add liveProvider to my project. I use a Hasura us dataProvider
But its not working for me(
At first I get the data, but when I change an item, the data is not updated in real time
And there is no mistake
App.tsx:
ProductList.tsx:
Beta Was this translation helpful? Give feedback.
All reactions