Defining subs with defsub
is a wrapper around re-frame.core/reg-sub
but with the added benefit of being able to import the function handler from the namespace when compiling for development. For more information, see the description under the Easier Testing
header in Define Events.
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 |