Indy
CCConvex Community
•Created by uzamaki21 on 12/15/2024 in #support-community
I currently run a cron job every 20 sec but its using bandwidth a lot how can i reduce the bandwidth
Hi @uzamaki21 usually if you have a spike on one day our system automatically forgives it, but it looks like you went over for a few days. Send us an email at support@convex.dev and we'll see if we can figure something out.
55 replies
CCConvex Community
•Created by Joe on 4/13/2023 in #support-community
primary and foreign key constraints?
Wow blast from the past.
Currently we're not planning to add uniqueness at the db level. This is generally done by checking of existence before writing in mutations. Since mutations are transactions you can be sure that this is fine.
We do owe people more documented patterns on how to do this.
15 replies
CCConvex Community
•Created by burnstony#1975 on 12/11/2024 in #support-community
query inside an action
3 replies
CCConvex Community
•Created by sircheferoo on 12/8/2024 in #support-community
Convex Paginated Query with TanStack React Query
Ah, I don't think that's been done yet. Maybe @ballingt has some pointers
7 replies
CCConvex Community
•Created by sircheferoo on 12/8/2024 in #support-community
Convex Paginated Query with TanStack React Query
You can just use Convex react hooks directly for pagination. That might be the simplest way forward.
7 replies
CCConvex Community
•Created by Web Dev Cody on 9/3/2024 in #support-community
Convex Auth Question
Hi this is a known limitation of Convex Auth, it's on our list. There is a way to workaround this for Google Auth: https://discord.com/channels/1019350475847499849/1019350478817079338/1314744170254172252
9 replies
CCConvex Community
•Created by David Alonso on 11/29/2024 in #support-community
Exponential number of indexes required?
One thing I'll point out for now, is that no matter what system (Convex or not), things kind of look the same.
You break your app into small modules that are easier to reason about. Though we haven't released the authoring apis to Convex components today, there is nothing stopping you from structuring your code as if they were broken up into components.
So let's say you have something that deals with push notifications, you'd probably break it out into its own sub folder that roughly looks like this: https://github.com/get-convex/expo-push-notifications/tree/main/src%2Fcomponent
And only talk to it with a specific "public" API. It doesn't have to be Convex functions as the API, it can very well be just typescript functions.
46 replies
CCConvex Community
•Created by Squirble on 12/5/2024 in #support-community
Tutorial doesn't actually work with Node 16
Yea. The upcoming tutorial update is about to reccomend 18+. 16 is end of lifed
5 replies
CCConvex Community
•Created by David Alonso on 11/29/2024 in #support-community
Exponential number of indexes required?
You're not the first person to request this 🙂 Thanks for requesting this again, all the more motivation for us to put it together.
46 replies
CCConvex Community
•Created by David Alonso on 11/29/2024 in #support-community
Exponential number of indexes required?
Thanks for taking all this time and effort to learn Convex. We're going to make this better 🙂
46 replies
CCConvex Community
•Created by David Alonso on 11/29/2024 in #support-community
Exponential number of indexes required?
This is such incredible feedback @deen.
First off, the team is well aware that Convex philosophically is non-obvious for a lot of folks. But as you mentioned, at some point it feels like seeing the matrix. That is why we wrote all these stack articles, but I acknowledge that the understanding is diffuse.
There are a few things we'll be working on to help with this:
1. Generally update docs to nudge people towards patterns that help people build scalable apps. This is a balance, because the core docs are very focused on "this is how the api works."
2. Writing a more cohesive resource in a book like style that will try to capture everything we've learned as a community together on walking up the ladder of feature complexity.
3. For this particular problem, we've had to delay the OLAP system we've mentioned in the community for a while as other priorities have come up. The idea is that you can get a delayed snapshot of your data for "large filter" applications that you can query more simply than explicit pagination. We'll make the tradeoff clear here.
46 replies
CCConvex Community
•Created by Patolord on 11/24/2024 in #support-community
Convex hourly cron documentation show daily information
Ah good catch!
3 replies
CCConvex Community
•Created by burnstony#1975 on 11/19/2024 in #support-community
Choosing a React Framework
I'll drop my 2 cents to give a bit of a framework. Since this is all just an opinions.
1. Next.js has wide adoption so there is a lot of help out there. It's downside is that it can feel overdone with a lot of different ways to do similar sounding things. When I've used it my small projects I just use it for the router and do client side everything and connect to Convex. It's just simpler for me to think that way, and I avoid all the strangeness of middlewares, runtimes, ssr etc.
2. Remix/React Router is pretty popular and has a decent amount of adoption. I haven't used this personally used it. But my very limited understanding is that it has fundamentally the same features as Next but it's just a bit simpler in most ways.
3. TanStack Router: Is really well designed, but is a little different than the rest and only has been around for a year or two. But if you're using just Router than you can happily stay in the client only app world. It's particularly helpful if you have complicated routes with custom views etc. The TanStack Start framework that brings all the server side rendering stuff that builds on TanStack Router is still alpha, but looks really promising, Convex team is broadly very excited about it.
13 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 11/18/2024 in #support-community
Docs on mobile have weird break points
@FleetAdmiralJakob 🗕 🗗 🗙 What browser are you using?
5 replies
CCConvex Community
•Created by IDIR on 9/27/2023 in #support-community
Flutter and Convex ?
Not yet in the plan. We're focusing on reliability and a few existing roadmap items. However @v Was able to get flutter and convex working with the rust client recently.
15 replies
CCConvex Community
•Created by thedevstockgirl on 9/22/2024 in #support-community
Prioritizing unifying docs and building doc integrations with Popular coding assistants
Thanks this is a great write up! We are thinking about a lot of these things.
- @Tom Redman has done a bunch of work packaging up Convex to be consumed by cursor. We should make it easy for all relevant tools.
- Open Sourcing docs is on our list.
- Some of the convex-helpers have become fairly standard patterns, even though they started as proofs of concepts. We plan on pulling these out as stand alone libraries and documenting them in our docs.
All great feedback as always.
12 replies
CCConvex Community
•Created by aitkn on 4/24/2023 in #support-community
Offline-first support
We are also thinking about this space a lot more actively now.
9 replies
CCConvex Community
•Created by aitkn on 4/24/2023 in #support-community
Offline-first support
@sujayakar did put together a sample: https://github.com/sujayakar/replicache-convex
9 replies
CCConvex Community
•Created by Web Dev Cody on 9/21/2024 in #support-community
Delete all files
Ah I yeah, I should have pointed to this api. I was thinking of a generalized case where we can automatically tell you this. That may not happen for a little while.
17 replies
CCConvex Community
•Created by Web Dev Cody on 9/21/2024 in #support-community
Delete all files
Yeah this has come up a few times. We have some ideas but haven't had a chance to prioritize them yet. Thanks for the reminder.
17 replies