What problem does it solve?
It solves the problem of tangled, monolithic Convex backend code by guiding you to encapsulate features into self-contained components with clear boundaries and isolated data models.
Core Features & Use Cases
- Encapsulated mini-backends: Organizes each feature with its own schema, functions (queries/mutations/actions), and isolated tables.
- Maintainable separation of concerns: Replaces scattered logic (auth, storage, payments, notifications, analytics) with focused component APIs.
- Reuse and swap implementations: Enables sharing the same backend capability across multiple features, and replacing providers without rewriting the whole app.
Use Case: When building a SaaS backend, you can keep payments, analytics tracking, and email notifications in separate components, then orchestrate them from parent functions to create cleaner, safer workflows like subscription creation and user onboarding.
Quick Start
Ask the AI to explain how to create a Convex component for notifications, including its schema and mutation APIs, and how to wire it into convex.config.ts for use from your main app.