Liking cljdoc? Tell your friends :D

Changelog

Unreleased

  • Examples: the examples home page is now itself a component (home.home, with a controller). There is no page route any more: a GET on /ds/nds/home.home/home/init?example=<name> renders it, and start! returns that URL. layout.clj → components/home/ (the registry lives in the controller).
  • README: "If you know re-frame" and "If you know XState" sections; a Mermaid state diagram in every example walkthrough and in docs/state-machines.md.
  • The datastar brick no longer ships example components: adapters.components.counter.* and html-page are gone from the jar. The discovery tests moved to the brick's test dir and define the component they resolve in memory.
  • The default component search path is now [] (was ["taia.ds.datastar.adapters.components"], which named nothing). Applications must call set-component-search-paths! at startup — they already had to.
  • logging: the REPL debugging helpers debug, log->, log->> and dbg are gone; levels is private. The interface is trace, trace-when, trace-enabled?, warn, with-context, local-context, flatten-ctx, log-level, set-log-level!, safe-for-log.

0.1.0 — 2026-11-09

  • Extracted from the application it was developed in, as a standalone Polylith workspace.
  • Bricks: datastar, state-machines, logging, extensions, renamed under taia.ds.*.
  • datastar.js (v1.0.0-RC.8) and sse-reconnect.js shipped as classpath resources under datastar/js/.
  • examples base + projects/examples: six components (counter, live counter, signup form, wizard, TodoMVC, weather via Open-Meteo) with walkthroughs in docs/examples/ and an in-process test suite; bb dev serves them.
  • bb e2e-test: Playwright suite against the examples app (e2e/), with a console-error guard and a two-user SSE fan-out spec.
  • README animation of one counter event end to end (docs/img/counter-flow.svg, GIF rendered by bb flow-gif).
  • Docs: getting started, components, state machines, connected components, testing, gotchas, migration; doc/cljdoc.edn; generated docs/api.md (bb api-index).
  • Interface additions: ctx->data-signals, html-response.
  • Connected counter example renders its initial state as a :patch (the previous :broadcast effect was ignored by the initial-render path, so the example never rendered).
  • Example page head is generic (no application stylesheets); discovery tests no longer depend on application components.

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close