@virentia/inspector 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,3 +22,19 @@ installVirentiaDevtools({
22
22
 
23
23
  Open `http://127.0.0.1:5174/` directly, or pass `autoOpen: true` if you want the app to open it.
24
24
  Use `--port` or `inspectorUrl` when you need a different URL.
25
+
26
+ ## Key Units
27
+
28
+ The inspector shows key units by default. Mark a unit with `key: true` in its devtools config, or reveal everything with the **Show all units** switch.
29
+
30
+ ```ts
31
+ const submitted = event<{ id: string }>({
32
+ name: "profile.submitted",
33
+ key: true,
34
+ });
35
+
36
+ const saveFx = effect(saveProfile, {
37
+ name: "profile.saveFx",
38
+ key: true,
39
+ });
40
+ ```