mirror of https://github.com/yewstack/yew
366 B
366 B
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.