mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Updates the requirements on [gloo](https://github.com/rustwasm/gloo) to permit the latest version. - [Release notes](https://github.com/rustwasm/gloo/releases) - [Commits](https://github.com/rustwasm/gloo/compare/0.7.0...0.8.0) --- updated-dependencies: - dependency-name: gloo dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
TodoMVC Example
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_storageto persist the state Refsare used to manipulate DOM elements after they're rendered (to automatically focus input fields for instance)
Improvements
- Use
yew-routerfor the hash based routing - Clean up the code