Discoverability namespace for re-frame tooling consumers (re-frame-pair, re-frame-10x, debux, AI agents, observability).
This namespace re-exports — without renaming or moving — the
symbols tooling code reaches for when it needs to introspect or
hook into re-frame's runtime: the dispatch override entrypoints,
the trace callback and schema-validation API, the live subscription
cache, and the registrar atom. Consumers can require ONE namespace
and discover the supported tooling surface, instead of grepping
across re-frame.core / re-frame.trace / re-frame.subs /
re-frame.registrar.
This is the supported surface for tooling. Every symbol here is a commitment to keep that name + shape stable across re-frame releases — within the same compatibility guarantees the source-of- truth namespace already gives. Source-of-truth definitions stay in their original namespaces; this is the discoverability INDEX, not a redirect or shim. Internal callers should keep referencing the source-of-truth namespaces directly. Adding a symbol here is a public-API commitment: do not add a re-export until the underlying symbol's contract is itself public/stable.
(require '[re-frame.tooling :as rft])
(rft/dispatch-with [:my-event] {:effect-id (fn [_] ...)})
(rft/register-trace-cb :my-tooling (fn [traces] ...))
@rft/query->reaction ;; live subscription cache
@rft/kind->id->handler ;; registrar atom
Discoverability namespace for re-frame tooling consumers
(re-frame-pair, re-frame-10x, debux, AI agents, observability).
This namespace re-exports — without renaming or moving — the
symbols tooling code reaches for when it needs to introspect or
hook into re-frame's runtime: the dispatch override entrypoints,
the trace callback and schema-validation API, the live subscription
cache, and the registrar atom. Consumers can require ONE namespace
and discover the supported tooling surface, instead of grepping
across `re-frame.core` / `re-frame.trace` / `re-frame.subs` /
`re-frame.registrar`.
STABILITY CONTRACT
==================
This is the supported surface for tooling. Every symbol here is a
commitment to keep that name + shape stable across re-frame
releases — within the same compatibility guarantees the source-of-
truth namespace already gives. Source-of-truth definitions stay in
their original namespaces; this is the discoverability INDEX, not
a redirect or shim. Internal callers should keep referencing the
source-of-truth namespaces directly. Adding a symbol here is a
public-API commitment: do not add a re-export until the underlying
symbol's contract is itself public/stable.
USAGE
=====
(require '[re-frame.tooling :as rft])
(rft/dispatch-with [:my-event] {:effect-id (fn [_] ...)})
(rft/register-trace-cb :my-tooling (fn [traces] ...))
@rft/query->reaction ;; live subscription cache
@rft/kind->id->handler ;; registrar atomcljdoc 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 |