devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
shem 2016-06-01T11:20:27.000125Z

is there an example somewhere about how to use devcards with re-frame?

shaun-mahood 2016-06-01T14:55:21.000126Z

@shem: I've seen a couple discussions on it, but nothing substantial on how to use it. devcards works fine with reagent components, so it might be worthwhile trying to separate your reagent components out and use devcards with them rather than trying to get the whole re-frame app involved.

escherize 2016-06-01T15:48:44.000127Z

is pure-frame the solution to this age old (for me) problem?

nberger 2016-06-01T16:00:00.000129Z

I'm using devcards with re-frame in a project by mounting each card on a separate iframe so cards are isolated and they can make full use of the re-frame db & dispatching. It has its cons of course (it takes longer to load for example) but it works reasonably well for us (orders of magnitude better than no having devcards!). I didn't have time lately to do some changes suggested by Bruce before sending a PR, but if anyone wants to give it a try it's in https://github.com/nberger/devcards/tree/iframe. There are a couple small examples that should help you get started

shem 2016-06-01T17:13:19.000132Z

thanks guys, i'll try these approaches

peeja 2016-06-01T19:49:41.000133Z

What does om-root/`defcard-om` do that om/build isn't suitable for?

peeja 2016-06-01T19:52:53.000134Z

Also: Is there a recommended way to share documentation between a card and a docstring?