Skip to content

Hitch 0.3.0

Choose a tag to compare

@dlandman27 dlandman27 released this 28 Oct 17:03
· 4 commits to main since this release

Runs you can open and compare, Expo SDK 58 support, and more honest render reasons.

Fixes

  • Render reasons no longer blame the parent for a component's own updates. The probe only checked a component's first 60 hooks for what changed. Big components go well past 60 once their custom hooks are counted, so their own store updates showed up as "its parent re-rendered", even on memo components whose props never changed. Hitch now checks up to 300 hooks and only says "parent" when the props object really is new. Anything else it now names:
    • "a hook after #300 changed (not checked)"
    • "its own update (no prop, hook or context change the probe could see)"
  • Connects to Expo SDK 58 apps. Expo's CLI drops a debugger connection unless the address matches Metro's exactly, so Hitch now tries 127.0.0.1, localhost and this Mac's LAN addresses. Refused connections no longer count as app reloads, and a banner explains when the debugger keeps refusing.
  • Clear also clears what React rendered. Before, the React view kept old renders after Clear.
  • Copy prompts for runs and comparisons now include the run's data instead of a one-line verdict.
  • The compact view picker no longer picks a view on the same press that opens it.
  • The Timeline's time window now sits in the Timeline's own title row.

New

  • Run pages. Click a saved run to see its full breakdown: freezes with what rendered, requests, console, logs, memory and threads. Events inside open even from earlier sessions.
  • Compare any two runs. Tick two runs for a side-by-side page with every measure, screen loads, React time and blocking lines, plus its own prompt.
  • Delete runs from the list or a run page.
  • Requests from Expo's native fetch are recorded (headers, bodies and the calling code). The debugger can't see these on its own. React Native's own fetch is left alone, so nothing is counted twice.
  • Two agent skills in .claude/skills/:
    • hitch-ab-test checks whether a change helped, using medians of several plays judged by the numbers that hold still.
    • hitch-diagnose follows results to the cause in the app's code.

Upgrading
git pull in your clone, then restart Hitch (quit and reopen Hitch.app, or stop and rerun hitch). The new React probe loads when Hitch attaches, and it replaces the old one in a running app automatically.