cljsjs/create-react-class
- you may need to exclude this
along with cljsjs/react
and cljsjs/react-dom
if you are using
npm dependenciescljsjs/marked
instead of using showdown - I'm considering
injecting a wrapped version of this lib so that it doesn't conflict
if you happen to be using it from npm.:closure-defines {devcards.core/card-buffer-size 10000}
:closure-defines {devcards.core/active true}
(set! (.-createClass (.-React goog.global)) create-react-class)
is a sweet
hack to get omcljs/om
to work with latest React:watch-atom false
option:actual
output for failing testsdevcards.core/devcard-rg
as a shortcut to defining
(defcard title (dc/reagent [:div "hey"]))
which can now be
expressed as (defcard-rg title [:div "hey"])
devcards.core/reagent
or devcards.core/defcard-rg
You always
need to pass a Reagent element of the form [component ... args]
This makes reagent support consistent with the defcard
api where you have to
supply a ReactElement and not a component:classname
option to the devcard options that will be added
to the card body - thanks to codebeigestart-devcard-ui*
publiccljs.test
async testingCan you improve this documentation? These fine people already did:
Bruce Hauman & Matthew DavidsonEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close