Skip to content

Instantly share code, notes, and snippets.

@DylanPiercey
Created July 28, 2021 15:23
Show Gist options
  • Save DylanPiercey/331e83886082d205f3dec04acd22b3ba to your computer and use it in GitHub Desktop.
Save DylanPiercey/331e83886082d205f3dec04acd22b3ba to your computer and use it in GitHub Desktop.
A counter component example using the Marko "Tags API"
<let/count = 0/>
<p>You clicked ${count} times</p>
<button onClick() { count++ }>
Click me
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment