npm @orpc/client 0.13.0
v0.13.0

latest releases: 0.0.0-next.a464abe, 1.13.2, 0.0.0-next.fc2dc8f...
12 months ago

🚀 New Feature Alert: Lazy Router 🌟

Level up your serverless architecture with Lazy Routers now available in oRPC!

Defer loading router modules until needed, improving startup times and optimizing resource usage—perfect for large applications.

import { os } from '@orpc/server'

const router = os.router({
    lazy: os.lazy(() => import('examples/server'))
})

// Use the lazy-loaded router as if it were a regular one
const output = await router.lazy.getting.name({ name: 'unnoq' })

Learn how it works and get started 👉 Read more here

   🚀 Features

    View changes on GitHub

Don't miss a new client release

NewReleases is sending notifications on new releases.