I’m building a mobile app with react native + expo.
The flow is like this:
Entity list -> entity detail view
And on the detail view I have a delete button. Once the button is pressed the currently viewing entity gets deleted and the user gets navigated back to the entity list.
But I’m getting an error because before the user can get sent back, convex is throwing an error that the currently viewing entity no longer exists (because it was just deleted)
So what’s the best way to handle this? Can I freeze the reactivity until the user is navigated back? Or what’s the recommended approach?
This seems like a pretty usual flow to me