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!
> webpack
> open index.html
You should see something like this: