mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* add span for closing tag to macro expansion * decouple name resolution from locations * commit to new macro errors
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.