Convex Ents with Optimistic Updates
I'm currently trying to implement a optimistic update together with Convex Ents.
The problem is that in order to set a new entry optimistically I need many related information as seen in the example.
What is the best way to get this information or to work around that?
3 Replies
Ok, I've come so far:
but
What happens if you remove the type annotation from the first line?
Then I get this error:
The problem is that I need a type that the setQuery accepts but idk how to grab this type.
ah nvm i think the correct type is:
thank you