mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Update main.rs Add function `make_callback()`. * Cleanup main.rs Removed `.clone()`. * Moved vars inside `if` branch in `entry_edit()`
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
Running
Run this application with the trunk development server:
trunk serve --open