mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* example of function memory game * refactor: remove unnecessary manual PartialEq implementation * refactor: remove unnecessary license note * refactor: update implementation and doc with suggestions * refactor: fix format and lint issues
Memory Game Example
This is an implementation of Memory Game for Yew using function components and hooks.
Concepts
- Uses
function_components - Uses
gloo::storageto persist the state - Uses
gloo::timersto schedule asynchronous callback
Note
Images are authorized by @bradlygreen, see authorization-issue