Hi we have a native RN app that are considering using Tanstack DB since we need full offline support while being able to sync through an API and we have no direct database access on the BFF, we are just integrating with a 3rd party API that has MongoDB.
Is it recommended to have an ORM like Prisma or such for your client side SQLite db for persistence, querying etc or not to get prisma studio and such?
We need to have optimistic updates on a lot of mutations but not all, reactive queries and such so that they update when we mutate things and sometimes our mutations will have side effects on other entities without triggering a new API mutation request for the side effect changes.