Error throw after deleting entity in React Native
List all entities screen -> View Entity screen -> Edit screen -> Delete button.
after calling the delete mutation, which in convex uses the
.delete method, I use the router to dismiss back to the List screen but my "get(id)" query throws. I believe because Convex is still listening and the screen might be mounted somewhereI don't know a clear and better path to do what I'm trying to accomplish, here are some code snippets:
my get single entity screen has the query:
delete mutation:
and in my component I'm calling it like so:
