I'm a little confused about the cards.html
. Is there a way to keep that from becoming part of the production site?
@peeja: if you are using lein you could use the uberjar-exclusions i’d think
I suppose that would work
is anyone successfully using devcards with reagent 0.5.1? seems like they have an incompatible react version dep
@spieden: did you try it using whichever uses the latest version and just exclude it from the other? Or exclude if from both and add dependency in yourself.
@adammiller: yes i’ve been trying that
now i’m attempting to merge a project generated by the lein template (which works) into my own
hmm, a lein clean eventually did it =\
some bad state creeping in
Is there a stable version of Om that works with Devcards?
It looks to me like Devcards requires React 0.14, which isn't supported until Om 1.0.0's alphas
@peeja i just hit the same issue with reagent — 0.14 not supported yet
i’m trying just bumping it and seeing what happens 😓
@spieden: I'm rolling back to 0.2.0, which is React 0.13
i tried that and hit different problems, but that was before i tried lein clean
working now for me too
@peeja do you know any way to have an interactive devcard without ns level state in e.g. an atom?
@spieden: You can give a card initial state and it'll pass it to you as an atom
See the BMI demo here: https://github.com/bhauman/devcards/blob/master/example_src/devdemos/core.cljs#L114
@peeja thanks