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).docs/state-machines.md.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.[] (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.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.docs/img/counter-flow.svg, GIF rendered by bb flow-gif).doc/cljdoc.edn; generated docs/api.md (bb api-index).ctx->data-signals, html-response.:patch (the previous :broadcast effect was ignored by the initial-render path, so the example never rendered).Can you improve this documentation?Edit on GitHub
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 |