Pureact TODO example

This is a very simple example app to show how to structure a simple todo app with Pureact.

Demo

Try it out!

How to get started

  1. Clone the repo
  2. $ npm i
  3. $ npm start

Browse the code

[./src/App.js] - contains the view code [./src/store.js] - contains the store [./src/index.js] - connects them together

Hooks

[./src/component/NewTodo.js] - shows how to use useHooks and useContext

Demo

Demo