I may be over thinking this, is there a way to conditionally show a defcard? Putting things in a function isn't enough because I want to retain the markdown information I can have in the defcard.
I'm going to be showing different cards when the user agent is different
I'm silly
this works: (defcard foo-bar (if condition "Hello" "World"))
is it possible to mount more than one reagent component in a card? I'd like to do (if condition (dc/reagent [foo]) (dc/reagent [bar]). It doesn't seem to work though.
I'm trying to use a defcard incorrectly apparently according to the docs
the defcard option :hidden came to the rescue 😃