Where does Convex sit in the stack?
Convex manages your global state and removes the need for a traditional database.
- Hosting: They serve your HTML and other static assets.
- Serverless Functions: While Convex
query and mutation functions handle
loading and editing data stored in Convex, you may need to interact with 3rd
parties (which can't be done in Convex functions because this is
non-deterministic). Work like sending emails in SendGrid or updating billing
information in Stripe is best handled in serverless functions. Serverless
functions can still access your shared Convex state using the