devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
2018-06-14T12:57:07.000493Z

Is it possible to set up devcards with editable source? (in the browser with auto-reload)

2018-06-14T12:57:50.000018Z

i.e. toggle card source, edit, see realtime results

2018-06-14T12:58:27.000001Z

I seem to remember seeing something like this, but I haven't been able to find a search lead

dpsutton 2018-06-14T13:19:43.000227Z

I get this by default. Is this not your experience?

2018-06-14T13:24:38.000229Z

Nope, I just see the title and mounted component

2018-06-14T13:25:47.000369Z

To be clear, I would like the source to be editable in the browser. It works from my editor.

dpsutton 2018-06-14T13:26:00.000432Z

Oh. That's a bigger feature request

2018-06-14T13:26:13.000446Z

Yeah, just wondering if someone already implemented it somehow.

dpsutton 2018-06-14T13:26:17.000140Z

You would want all your tooling in the browser?

2018-06-14T13:26:42.000845Z

Not all my tooling, just a basic text editor which can be saved to trigger a reload of just that piece of code.

2018-06-14T13:27:29.000535Z

I think it would be a nice way of writing tutorials that are interactive.

2018-06-14T13:29:31.000513Z

If each card was implemented in it's own namespace, I imagine it wouldn't be too hard to implement something like this?

paytonrules 2018-06-14T13:35:48.000023Z

What’s the status with devcards and the latest reagent? It looks like the answer is “don’t’ based on a couple PRs in the issues page. Do we just stay on Reagent 0.7?

bhauman 2018-06-14T15:12:20.000197Z

which PR's are you speaking of?

bhauman 2018-06-14T15:16:30.000315Z

@danielstockton for whats it's worth I really looked at this and feel that editing in an editor is a much better experience even for tutorials. But if what you want is something like an editable clojurescript example you could create a Klipse card

2018-06-14T15:30:08.000030Z

Reconsidering, it might be enough to just display the code without it being editable. Just saves maintaining the real code and 'display' code separately

paytonrules 2018-06-14T15:42:07.000177Z

@bhauman #127 and #123 - although I guess 123 isn’t really about Reagent per-se

bhauman 2018-06-14T15:45:33.000429Z

Hmmm I will investigate