mirror of
https://github.com/yewstack/yew.git
synced 2026-01-18 16:16:48 +00:00
* feat(examples): add function components todo example * chore(examples): apply feedback for function components example * chore(examples): apply more feedback for function components example * feat(examples): implement custom hook for edit boolean toggle * chore(examples): prep for merge, add more documentation * chore(examples): add more descriptive comment to function component hook, fix cargo.toml
535 B
535 B
TodoMVC Example
This is an implementation of TodoMVC for Yew using function components and hooks.
Concepts
- Uses
function_components - Uses
gloo_storageto persist the state
Improvements
- Use
yew-routerfor the hash based routing - Clean up the code