Static web editor to share documentation code and mess around with small re-frame experiments! Try it here.
See the demos!
Code is livereloaded with the help of klipse plugin. The right-hand panel has the id 'app'. To render reagent into this panel, target the element with (js/document.getElementById 'app')
. Here's a template (tbd) to get started with.
To easily share re-frame sketches, you can save your code to a github gist and load it into this editor with the url param: gist-id=[github-username]/[gist-id]
For example: ?gist-id=daiyi/62db9d22136503a42cbbe5dc5ec0337d
The whole url would look something like:
https://day8.github.io/re-playground?gist-id=daiyi/62db9d22136503a42cbbe5dc5ec0337d
Clone this project and enter the folder:
git clone [email protected]:day8/re-playground.git
cd re-playground
Serve the static page with python:
python -m SimpleHTTPServer
The page should be available at [http://localhost:8000]!