diff --git a/apps/content/content/docs/comparisons.mdx b/apps/content/content/docs/comparisons.mdx index 49b2d37a..03d8c408 100644 --- a/apps/content/content/docs/comparisons.mdx +++ b/apps/content/content/docs/comparisons.mdx @@ -4,4 +4,21 @@ description: How is oRPC different from other RPC or REST solutions? icon: GitCompareArrows --- -...(In progress) \ No newline at end of file +This comparison table helps you understand how oRPC differs from other popular TypeScript RPC and REST solutions. + +- ✅ First-class, built-in support +- 🟡 Lacks features, or requires third-party integrations +- 🛑 Not supported or not documented + +| | oRPC | tRPC | ts-rest | Description | +|------------|------------|---------------|---------------|---------------| +| End-to-end Type Safety | ✅ | ✅ | ✅ | Full TypeScript type inference from backend to frontend | +| SSR Support | ✅ | ✅ | ✅ | Server-side rendering compatibility | +| React Query Integration | ✅ | ✅ | 🟡 | Native support for React Query/TanStack Query | +| Vue Query Integration | 🛑 | 🛑 | 🟡 | Native support for Vue Query/TanStack Query | +| Contract-First Development | ✅ | 🛑 | ✅ | API definitions before implementation | +| File Operations | ✅ | 🟡 | 🟡 | Built-in support for file uploads/downloads | +| OpenAPI support | ✅ | 🟡 | 🟡 | Generation and consumption of OpenAPI specs | +| Server actions support | ✅ | ✅ | 🛑 | React/Next.js Actions compatibility | + +> In the future, we'll implement full Tanstack query support for Vue, Svelte, Solid, ... \ No newline at end of file