Is it possible to set up devcards with editable source? (in the browser with auto-reload)
i.e. toggle card source, edit, see realtime results
I seem to remember seeing something like this, but I haven't been able to find a search lead
I get this by default. Is this not your experience?
Nope, I just see the title and mounted component
To be clear, I would like the source to be editable in the browser. It works from my editor.
Oh. That's a bigger feature request
Yeah, just wondering if someone already implemented it somehow.
You would want all your tooling in the browser?
Not all my tooling, just a basic text editor which can be saved to trigger a reload of just that piece of code.
I think it would be a nice way of writing tutorials that are interactive.
If each card was implemented in it's own namespace, I imagine it wouldn't be too hard to implement something like this?
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?
which PR's are you speaking of?
@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
Reconsidering, it might be enough to just display the code without it being editable. Just saves maintaining the real code and 'display' code separately
@bhauman #127 and #123 - although I guess 123 isn’t really about Reagent per-se
Hmmm I will investigate