Skip to content
Back to skills

Orpc React Native

ASecurity

Use oRPC inside a React Native project.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
businessreactgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add ali-master/skills --skill orpc-react-native --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orpc React Native?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orpc React Native
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ali-master-orpc-react-native/badge)](https://www.skillsdirectory.com/skills/ali-master-orpc-react-native)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oRPC React Native Adapter
description: Use oRPC inside a React Native project.
license: MIT
metadata:
  author: Ali Torki
  homepage: https://github.com/ali-master
  version: "1.0.0"
---

# React Native Adapter

[React Native](https://reactnative.dev/) integration.

## Fetch Link

React Native includes a [Fetch API](https://reactnative.dev/docs/network), so oRPC works out of the box.

> Fetch in React Native is limited. oRPC features like [File/Blob](/docs/file-upload-download) and [Event Iterator](/docs/event-iterator) aren't supported. Follow [Support Stream #27741](https://github.com/facebook/react-native/issues/27741) for updates.

> For binary data, extend the [RPC JSON Serializer](/docs/advanced/rpc-json-serializer#extending-native-data-types) to encode as Base64.

```ts
import { RPCLink } from '@orpc/client/fetch'

const link = new RPCLink({
  url: 'http://localhost:3000/rpc',
  headers: async ({ context }) => ({
    'x-api-key': context?.something ?? ''
  })
})
```

## `expo/fetch`

If using [Expo](https://expo.dev/), use [`expo/fetch`](https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api) to expand support for [Event Iterator](/docs/event-iterator):

```ts
export const link = new RPCLink({
  url: `http://localhost:3000/rpc`,
  async fetch(request, init) {
    const { fetch } = await import('expo/fetch')

    const resp = await fetch(request.url, {
      body: await request.blob(),
      headers: request.headers,
      method: request.method,
      signal: request.signal,
      ...init,
    })

    return resp
  },
})
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.