preact-socrates
Install
npm install preact-socrates
Example
/** * Create our virtual dom tree */ const Home = <div class='home'> <h2> greeting </h2> <button onClick= >Change the greeting</button> </div> /** * Initialize our store */ let store = /** * Initial application state */ /** * Render our virtual dom tree to the <body> */
License
MIT