Skip to content

Commit

Permalink
docs: comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
unnoq committed Nov 20, 2024
1 parent ab80aa6 commit 86a9892
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion apps/content/content/docs/comparisons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,21 @@ description: How is oRPC different from other RPC or REST solutions?
icon: GitCompareArrows
---

...(In progress)
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, ...

0 comments on commit 86a9892

Please sign in to comment.