Getting started
Xerlock is a desktop DevTools app for React Native. See your app’s console, network requests, state, storage, data and queries while you develop.
Install
Section titled “Install”-
Install the SDK.
Terminal window pnpm add @xerlock/clientTerminal window npm install @xerlock/clientTerminal window yarn add @xerlock/client -
Download the desktop app.
-
Call
init()in your app’s entry file.index.ts import { init } from '@xerlock/client';init(); -
Run your app. It connects to Xerlock automatically.
This turns on the Console and Network panels. To add TanStack Query, Zustand, Redux, Storage and more, see Configuration.
Project requirements
Section titled “Project requirements”| Framework | Version |
|---|---|
| Expo SDK | 55+ |
| React Native | 0.83+ |
For full compatibility information, view our compatibility guide.
Safe in production
Section titled “Safe in production”Xerlock only runs in development builds. In production, init() does nothing and nothing connects, so
you can leave it in your code.
Next steps
Section titled “Next steps”ConfigurationThe init() config, defaults and type safety.
ZustandInspect stores, edit state, time travel and call actions.
ReduxAction log, state diffs, dispatch and time travel.
TroubleshootingThe app doesn't connect, or a panel is missing.