Status: Backlog | Priority: P0 | Created: 2026-02-20 | Depends-on: dead-reference-cleanup
Convert control.cljc from map-based rendering dispatch (::rad/controls ::type->style->control) to multimethod-based dispatch, consistent with form_render.cljc and report_render.cljc.
control.cljc line 41-64: render-control does map-based lookup via ::rad/controls ::type->style->control. This is the only remaining map-based dispatch in the rendering system.
Replace with a multimethod:
(defmulti render-control
"Render a control element. Dispatches on [control-type style]."
(fn [control-type style instance control-key]
[control-type style])
:hierarchy #'fr/render-hierarchy)
control.cljc: Replace render-control function with defmulti::rad/controls runtime atom concept (no more install! of control maps)current-value, component-controls, standard-control-layoutrender-control is a multimethod dispatching on [control-type style]::type->style->control, ::element->style->layout, or ::style->layout map-based dispatchfr/render-hierarchy with form and report renderersCan 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 |