agent-react-devtools@0.3.0
·
15 commits
to main
since this release
Minor Changes
-
e9c8a60: Show connection health in
statusandget tree- Show last connection event in
status(e.g. "app reconnected 3s ago") - Show contextual hint when
get treereturns empty after a disconnect
- Show last connection event in
-
20ce273: Standardize component reference format across all CLI output
All formatters now produce consistent
@cN [type] Namereferences. Previously, tree and search commands used@c1 [fn] "Name"while profiling commands omitted labels, type tags, or both.Breaking changes to output format:
- Component names are no longer quoted:
@c1 [fn] Appinstead of@c1 [fn] "App" - Keys use
key=valueinstead ofkey="value" - Profiling commands (
profile slow,profile rerenders,profile stop,profile commit) now include@cNlabels and[type]tags profile slowandprofile rerendersshow all render causes instead of only the firstprofile reportnow includes a[type]tag in the header- Column-aligned padding removed from profiling output in favor of consistent
formatRefformatting
- Component names are no longer quoted:
-
05090ca: Surface specific changed prop/state/hook keys in profiling output
Profiling reports and commit details now show which props, state keys, and hooks changed, not just that they changed.
profile reportandprofile slowappendchanged: props: onClick, className state: countlinesprofile rerendersandprofile commitinclude the same detail per component- Keys are deduplicated across commits in aggregate reports
- Empty keys produce no extra output (backward-compatible)
-
e9c8a60: Add
waitcommandwait --connected— block until a React app connectswait --component <name>— block until a named component appears in the tree- Both support
--timeout(default 30s) and exit non-zero on timeout
Patch Changes
- 303f9e4: Fixed Vite HMR (hot module replacement) breaking when the
reactDevtools()plugin is added tovite.config.ts. The connect module now preserves the react-refresh runtime's inject wrapper when replacing the devtools hook, so both Fast Refresh and devtools inspection work correctly.