Skip to content

Commit 9f97f87

Browse files
committed
docs(usage): Add note on lack of tools for inspecting custom primitives in devtools
1 parent 15c3963 commit 9f97f87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

solid-usage.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ By node I mean any solid internal object, like owners, signals, roots, store-nod
7474

7575
### Computation updates
7676

77-
- `owner.fn` is patched to observe when the computration reruns — [source code](https://github.com/thetarnav/solid-devtools/blob/main/packages/debugger/src/main/observe.ts#L50-L88)
77+
- `owner.fn` is patched to observe when the computation reruns — [source code](https://github.com/thetarnav/solid-devtools/blob/main/packages/debugger/src/main/observe.ts#L50-L88)
7878

7979
- `owner.value` is read to get the current owner value and patched to listen to changes — [source code](https://github.com/thetarnav/solid-devtools/blob/main/packages/debugger/src/main/observe.ts#L98-L123)
8080
- signals are being observed the same way
@@ -145,3 +145,5 @@ So if there is an effect that listens to some store property *(e.g. `createEffec
145145
- There is no connection between a signal accessor and the signal object it belongs to.
146146

147147
This is an usually an issue with jsx and components returning signals. I cannot show what the value is without calling the accessor which might have side effects.
148+
149+
- No tools to mark "custom primitives" for devtools. For example `createResource` doesn't have a single instance that I can inspect—it's made up from multiple separate signals, computations and other values.

0 commit comments

Comments
 (0)