meenieM
Convex Community15mo ago
11 replies
meenie

Just to get something straight in my

Just to get something straight in my head with Convex and the provided React hooks, if you do something stupid like render multiple of the same component in a .map() and inside each of those components is a useQuery() with the same API endpoint and arguments, does the convex provider dedupe those queries in a way that it will only run a database query one time and then any subsequent useQuery() calls will use a local version of that data?
Was this page helpful?