tree: 2052a585eace9e8d26d05af8339f20ce8a62cebd [path history] [tgz]
  1. dist/
  2. public/
  3. src/
  4. .eslintrc
  5. package-lock.json
  6. package.json
  7. README.md
  8. rollup.config.js
resources/todomvc/architecture-examples/preact/README.md

Speedometer 3.0: TodoMVC: Preact

Description

This application uses Preact 10.11.3 to implement a todo application.

  • Preact Fast 3kB alternative to React with the same modern API.

Implementation details

Preact:
Model: model.js
View: ui components
controller: app.js

MVC:
Model: maintains the data and behavior of an application
View: displays the model in the ui
Controller: serves as an interface between view & model components

Built steps

terminal:
1. npm run build

Requirements

The only requirement is an installation of Node, to be able to install dependencies and run scripts to serve a local server.

* Node (min version: 18.13.0)
* NPM (min version: 8.19.3)

Local preview

terminal:
1. npm install
2. npm run start