Dev-only style hot-reload. Re-injects updated CSS into live component instances after shadow-cljs hot-reload so style changes are visible without a full page refresh.
Dev-only style hot-reload. Re-injects updated CSS into live component instances after shadow-cljs hot-reload so style changes are visible without a full page refresh.
Dev-only registry mapping tag names to public-api metadata for all BareDOM components. Used by x-debug to introspect component state.
Dev-only registry mapping tag names to public-api metadata for all BareDOM components. Used by x-debug to introspect component state.
Constants and CSS for the dev-only x-debug visual debugging overlay.
Constants and CSS for the dev-only x-debug visual debugging overlay.
Dev-only visual debug overlay for BareDOM components. Activates via ?baredom-debug URL param or window.BAREDOM_DEBUG = true. Injects dashed outlines and tag labels into component shadow roots, wraps prototype callbacks for console logging, and provides a floating inspection panel.
Dev-only visual debug overlay for BareDOM components. Activates via ?baredom-debug URL param or window.BAREDOM_DEBUG = true. Injects dashed outlines and tag labels into component shadow roots, wraps prototype callbacks for console logging, and provides a floating inspection panel.
Stylesheet string for the x-trace-history dock. Lives in its own
namespace so model.cljs stays focused on data transforms and the
dock layer can require this one string when attaching its shadow.
Stylesheet string for the x-trace-history dock. Lives in its own namespace so `model.cljs` stays focused on data transforms and the dock layer can require this one string when attaching its shadow.
Pure functions and constants for x-trace-history: schema, ring-buffer ops, JS record construction, dock filtering / preview formatting, dock CSS, activation predicate. Effects (atom mutation, hook installation, JS API, DOM mounting) live in recorder.cljs / x_trace_history.cljs.
Pure functions and constants for x-trace-history: schema, ring-buffer ops, JS record construction, dock filtering / preview formatting, dock CSS, activation predicate. Effects (atom mutation, hook installation, JS API, DOM mounting) live in recorder.cljs / x_trace_history.cljs.
Effects layer for x-trace-history: state atom, hook installation, activation gating, JS API at window.BareDOM.traceHistory.*, a synchronous cause-id chain via a wrapper around EventTarget.prototype.dispatchEvent, and a small subscriber API consumed by the dock UI.
See docs/x-trace-history-roadmap.md for the broader plan.
Effects layer for x-trace-history: state atom, hook installation, activation gating, JS API at window.BareDOM.traceHistory.*, a synchronous cause-id chain via a wrapper around EventTarget.prototype.dispatchEvent, and a small subscriber API consumed by the dock UI. See docs/x-trace-history-roadmap.md for the broader plan.
Dev-only floating dock for x-trace-history.
When activated (?baredom-trace-history or window.BAREDOM_TRACE_HISTORY),
register! installs the recorder hooks (via recorder/register!), defines a
<x-trace-history> custom element, and auto-mounts one to <body>. The
dock subscribes to recorder updates and renders an SVG timeline: one
lane per component instance (Y), event time on X, dots coloured by
category. Hover for tooltip, click to open the JSON detail pane.
Dev-only floating dock for x-trace-history. When activated (?baredom-trace-history or window.BAREDOM_TRACE_HISTORY), register! installs the recorder hooks (via recorder/register!), defines a `<x-trace-history>` custom element, and auto-mounts one to <body>. The dock subscribes to recorder updates and renders an SVG timeline: one lane per component instance (Y), event time on X, dots coloured by category. Hover for tooltip, click to open the JSON detail pane.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |