Slewt
Slewt
CCConvex Community
Created by Slewt on 11/1/2024 in #support-community
ConvexQueryCacheProvider Behavior
Your totally right, my mistake. I wasn’t checking the socket communication and defaulted to looking at the normal network request 🤦‍♂️
32 replies
CCConvex Community
Created by Slewt on 11/1/2024 in #support-community
ConvexQueryCacheProvider Behavior
But the cache provider is being kept up to date by the a socket subscription. So the additional request being sent every time a page loads/reloads is redundant. That’s kind of the point of caching something for me, to avoid redundant calls to the server. So it sounds like I need to write my own solution to get the expected cache behavior and avoid the redundant server calls.
32 replies
CCConvex Community
Created by Slewt on 11/1/2024 in #support-community
ConvexQueryCacheProvider Behavior
Anyone have guidance here? If you repeatedly call ConvexQueryCacheProvider it seems to send a new network request every time instead of depending on the cache.
32 replies
CCConvex Community
Created by Slewt on 11/1/2024 in #support-community
ConvexQueryCacheProvider Behavior
My expectation/desired behavior would be that subsequent useQuery calls while using the cache provider would not send more requests and just use the cached data. And the data would stay dynamically updated from socket updates for the subscription.
32 replies
CCConvex Community
Created by Slewt on 10/15/2024 in #support-community
Is nextjs recommended with convex? or not ideal?
Are you using the new React Router V7 / Remix? Any material you suggest reviewing to get up to speed on using remix + convex?
22 replies
CCConvex Community
Created by Slewt on 10/15/2024 in #support-community
Is nextjs recommended with convex? or not ideal?
That’s very helpful thank you! I need to finalize the technology choices for a new project my team will be starting on next week. If I wanted to focus on Tanstack and the “ideal setup” for convex, should I just start building on it now hoping Tanstack Start gets finalized quickly enough to keep up with us? It’s either that or we fall back on nextjs and configure it to work the best way it can with convex. I think it can be used more as a SPA, and still use tanstack router/query or the whole React router v7 + Remix merge that sounds interesting but I don’t know anything about its design yet.
22 replies
CCConvex Community
Created by Slewt on 10/15/2024 in #support-community
Is nextjs recommended with convex? or not ideal?
I’m curious why Remix wouldn’t be a great fit as well? Since Convex could handle all of the backend business logic, then nextjs is possibly overkill, and something like remix could be a great fit. Or Tanstack start when that’s more officially released like you said. But I’m curious what you think of the case for remix? Any other opinions are welcome
22 replies
CCConvex Community
Created by Slewt on 10/15/2024 in #support-community
Is nextjs recommended with convex? or not ideal?
Thanks that’s really helpful. I’m just realizing that convex doesn’t include web hosting, so I guess that makes a bit more sense why nextjs + vercel + convex could be a good fit too.
22 replies