This repo provides one webpage and three components.
A simple example of <LiveEditor>
in use.
A code mirror react component (called <CodeMirrorEditor>
since code mirror took the name CodeMirror
).
Dynamic compilation of react components.
Combination of <CodeMirrorEditor>
and <ComponentPreview>
which live-compiles what you type!
- run
make
- run
python -m SimpleHTTPServer
- visit
http://localhost:8000/jsx-compiler.html
You should see something like this: