Skip to content

Commit 86a9892

Browse files
committed
docs: comparisons
1 parent ab80aa6 commit 86a9892

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

β€Žapps/content/content/docs/comparisons.mdxβ€Ž

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,21 @@ description: How is oRPC different from other RPC or REST solutions?
44
icon: GitCompareArrows
55
---
66

7-
...(In progress)
7+
This comparison table helps you understand how oRPC differs from other popular TypeScript RPC and REST solutions.
8+
9+
- βœ… First-class, built-in support
10+
- 🟑 Lacks features, or requires third-party integrations
11+
- πŸ›‘ Not supported or not documented
12+
13+
| | oRPC | tRPC | ts-rest | Description |
14+
|------------|------------|---------------|---------------|---------------|
15+
| End-to-end Type Safety | βœ… | βœ… | βœ… | Full TypeScript type inference from backend to frontend |
16+
| SSR Support | βœ… | βœ… | βœ… | Server-side rendering compatibility |
17+
| React Query Integration | βœ… | βœ… | 🟑 | Native support for React Query/TanStack Query |
18+
| Vue Query Integration | πŸ›‘ | πŸ›‘ | 🟑 | Native support for Vue Query/TanStack Query |
19+
| Contract-First Development | βœ… | πŸ›‘ | βœ… | API definitions before implementation |
20+
| File Operations | βœ… | 🟑 | 🟑 | Built-in support for file uploads/downloads |
21+
| OpenAPI support | βœ… | 🟑 | 🟑 | Generation and consumption of OpenAPI specs |
22+
| Server actions support | βœ… | βœ… | πŸ›‘ | React/Next.js Actions compatibility |
23+
24+
> In the future, we'll implement full Tanstack query support for Vue, Svelte, Solid, ...

0 commit comments

Comments
Β (0)