Repository navigation
Hitch 0.1.0
First public release of Hitch, a live slowdown watcher for React Native dev sessions on macOS. Nothing gets added to your app: Hitch works through Metro's debugger and reads the simulator's threads from your Mac.
What it catches
- JS freezes pinned to
file:line, with what React rendered during them and why, including avoidable re-renders (new props with equal values, unmemoized children) - Choppy frames, screen load times, startups, and hot native threads (simulator)
- Console errors and warnings (grouped repeats, object previews), slow and failed requests
- Memory and thread leaks, including memory a JS reload didn't free
Ways to use it
- A live window: thread lanes, findings, details, and a Mac app (
hitch --install-app) - Terminal output, plus a saved report whenever something was found
- "Send to Claude Code" and copy-prompt briefs for each finding
- An MCP server at
http://127.0.0.1:7370/mcp: coding agents can read findings, profile, snapshot the heap, and record and compare runs and scenarios
Install
git clone https://github.com/dlandman27/hitch.git ~/hitch
cd ~/hitch && npm link
hitch # from your app's repo, with Metro and the app runningNeeds macOS with Xcode command-line tools, Node 22+, and a React Native app on Hermes (RN 0.73+) running as a dev build. Android thread lanes are included but haven't been tried on a device yet.