onthemarq
onthemarq
CCConvex Community
Created by onthemarq on 4/9/2025 in #support-community
Property in Query Filter & Cache Invalidation
Hello! Because of the great work Convex does at keeping information up-to-date, my app UI has a weird experience that I'm trying to figure out the best solution for solving. It is a "Tinder-like" experience where there is a stack of cards (react-native-deck-swiper) and a user can swipe left or down to remove a card from the stack. When this happens, the query cache is invalidated because the status of the card (a property selected in the query and used in filtering the cards during the query) is updated for this single card. Therefore, the cards are shuffled back to the original order which is annoying. Two questions: - If the card is used only as a filtering property (i.e. not selected to return), would this same behavior exist, i.e. the cache invalidation and re-pulling of the data? - If the property was in a separate dedicated table, but still used in the same way (filtering), would this behavior continue? Any thoughts would be helpful! 🙏🏻
3 replies
CCConvex Community
Created by onthemarq on 1/4/2025 in #support-community
Convex in Release Build (React Native)
I am moving from a local build (in an iOS simulator) to a release build (on my iPhone) of my app. I am using Convex as my backend. I am noticing that none of the database or API functions are firing as expected. Are there additional setup steps required? Do I need to follow the production deployment steps for this testing phase? Thanks!
12 replies