You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 76ff6fa
Browse filesBrowse the repository at this point in the historyBrowse files
The ownership panel shows a component's source location under its name, and
clicking it asks the dev server to open the file.
- The location comes from the hot reload transform, which records `file:line:column` on the wrapper it creates. `@solidjs/vite-plugin` runs that transform in development, so no extra setup is needed. Components compiled without it simply have no location.
- Clicking calls Vite's `/__open-in-editor` endpoint.
- Names now drop the `[solid-refresh]` tag everywhere, not just on components, so the memo the wrapper creates reads as the component it wraps.
- Long names in the signal and scope lists are clipped instead of overlapping their value.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/ownership-tree.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,5 @@ Add an ownership tree panel to the dev toolbar.
6
6
7
7
The panel shows the app as a tree of owners. Component mode lists components only and folds the scopes between them into the component above, so a component shows the signals, memos and effects created inside it. Owner mode shows every owner.
8
8
Selecting a row lists its prop names, the signals it holds with their values, the scopes folded into it and its children.
9
+
Components show where they are declared, and clicking the location opens the file in your editor.
9
10
Rows flash when an owner is created, and the tree can be searched by component, scope or signal.
0 commit comments