Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 787 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 787 Bytes

jbook

Live Example

This is an app that allows users to test code and write notes in a web browser. It's mostly useful as a demonstration of in-browser bundling of JavaScript, however, since it keeps no permanent state (future?).

For now, you'll notice that it is capable of rendering two types of panels. One is a code editor that will execute arbitrary JavaScript code, including importing from NPM (execute arbitrary code at your own risk). The other panel is a Markdown panel which will render any markdown code that you type in the left pane.


import React from 'react';
import ReactDOM from 'react-dom';

const App = () => <h1>Hi there</h1>;

ReactDOM.render(
    <App />,
    document.querySelector('#root')
)

I hope you enjoy!