mirror of
https://github.com/yewstack/yew.git
synced 2026-02-01 17:26:28 +00:00
* Set to properties, not attributes * fix tests * Add tests * enable disabled test, fmt * Introduce @key syntax to forcefully set as attribute * Everything compiles * More tests * id as property * This was not meant to be committed * Make test pass, fmt + clippy * fucking rustfmt * is this enough formatting * that was not supposed to be commited * apply review * fmt * fix CI * will you be happy now, clippy?
Counter Example
A simple example of a counter which can be increased or decreased with the press of a button implemented using function components
Running
Run a debug version of this application:
trunk serve
Run a release version of this application:
trunk serve --release
Concepts
Demonstrates the use of function components.