Updates the requirements on [dodrio](https://github.com/fitzgen/dodrio) to permit the latest version. - [Release notes](https://github.com/fitzgen/dodrio/releases) - [Commits](https://github.com/fitzgen/dodrio/commits/0.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md | ||
index.html |
README.md
TodoMVC
dodrio
implementation of the popular TodoMVC app. It
correctly and completely fulfills the
specification to
the best of my knowledge.
Source
There are a number of modules in this dodrio
implementation of TodoMVC. The
most important are:
src/lib.rs
: The entry point to the application.src/todos.rs
: Definition ofTodos
model and its rendering.src/todo.rs
: Definition ofTodo
model and its rendering.src/controller.rs
: The controller handles UI interactions and translates them into updates on the model. Finally, it triggers re-rendering after those updates.src/router.rs
: A simple URL hash-based router.
Build
wasm-pack build --target no-modules
Serve
Use any HTTP server, for example:
python -m SimpleHTTPServer