Drew Hutton (Yoroshi) 05728e1001
Add Function Components Example (#2088)
* 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
2021-10-16 20:05:06 +01:00

535 B

TodoMVC Example

Demo

This is an implementation of TodoMVC for Yew using function components and hooks.

Concepts

Improvements

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