This is a repository to show how to create a React App with the Lume static site generator.
This project is adapted from the fantastic TodoMVC project, and its React version with the following changes:
- Upgraded React (the original version is in React
0.13). - Code formatted to Deno standards and converted to Typescript.
- JSX is compiled at buildtime, instead runtime bundled to a single file and minified.
- Removed unmaintained dependencies (like
director). - Use React hooks to manage state.
- The React code is in
/app/folder. - The HTML file is build in
index.tmpl.ts:
- Clone this Repository
git clone https://github.com/lumeland/react-todo.git - Run
deno task serve