Repl helpers for surfs. Useful for exploring component specs and getting documentation.
Repl helpers for surfs. Useful for exploring component specs and getting documentation.
(describe tag)Returns raw metadata about a component. Includes function metadata as well as the fspec of the component's render function. describe might be considered them most "low level" repl utility.
Usage:
(describe :static-select)
Returns raw metadata about a component. Includes function metadata as well as the fspec of the component's render function. describe might be considered them most "low level" repl utility. Usage: ```clojure (describe :static-select) ```
(doc tag)Prints the full documentation of a component. This documentation includes component signatures as well as usage examples.
Usage:
(doc :static-select)
Prints the full documentation of a component. This documentation includes component signatures as well as usage examples. Usage: ```clojure (doc :static-select) ```
(props tag)Returns the spec for a component's props if it has them. Specs leveraging merge
will have their keywords fully expanded into a valid keys spec.
(props :multi-external-select)
Returns the spec for a component's props if it has them. Specs leveraging merge will have their keywords fully expanded into a valid `keys` spec. ```clojure (props :multi-external-select) ```
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 |