Skip to content

🔥 Examples of Hono RPC's lightweight alternative to TRPC.

Notifications You must be signed in to change notification settings

hirosaki217/hono-rpc-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hono RPC Examples

These examples mostly use Hono, Hono RPC, and React Query.

Hono RPC is really cool. I want to replace tRPC with this because:

  • It's technically still REST endpoints. Not super coupled with the "tRPC" idea.
  • Hono is lightweight (I'm not sure if it's more lightweight, I can't benchmark as a scrub)
  • Hono is DevX is nice. I think the setup is less tedious than tRPC.

Examples

  • next-app - Next 14 App Router
  • next-pages - Next 14 Pages Router
  • react-codegen - Separate Frontend Host and Backend Host. How do we share types? Codegen. (This assumes client and server are separate repos).
  • svelte4 - Svelte 4 and Kit

About

🔥 Examples of Hono RPC's lightweight alternative to TRPC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.5%
  • JavaScript 8.6%
  • Svelte 7.3%
  • HTML 2.5%
  • CSS 1.1%