Actualize
CCConvex Community
•Created by Actualize on 10/17/2024 in #support-community
Run convex from AWS lambda
Okay I got it to work for now by copying the entire convex folder over to the lambda. Not sure if necessary but it's working, doubled my lambda size to ~40mb heh.
Still wonder if it's a good practice or not.
7 replies
CCConvex Community
•Created by Actualize on 10/8/2024 in #support-community
Convex + Nextjs using preloadQuery inside layout.tsx
Thanks
7 replies
CCConvex Community
•Created by Actualize on 10/8/2024 in #support-community
Convex + Nextjs using preloadQuery inside layout.tsx
Interesting, so the sharing part (using a context) is a "code smell" if I get you correctly. But it will give advantage if I aim to avoid loading, sorry for repeating your answers I just want to make sure I got it right hehe. I now also wonder what will happen if the data changes, have I caused re-renders to all pages (even those that doesn't need the query) using the layout? (I guess I can test that one myself fast as this is also not a convex specific question)
7 replies