2022-06-19 17:23:33 +05:00
..
2022-04-21 23:21:15 +05:00
2022-04-11 17:02:59 +05:00
2022-06-19 17:23:33 +05:00

TodoMVC Example

Demo

This is an implementation of TodoMVC for Yew.

Unlike other implementations, this stores the full state of the model, including: all entries, entered text and chosen filter.

Concepts

  • Uses gloo_storage to persist the state
  • Refs are used to manipulate DOM elements after they're rendered (to automatically focus input fields for instance)

Improvements

  • Use yew-router for the hash based routing
  • Clean up the code