Last active
March 28, 2023 20:22
-
-
Save jprochazk/b5fa72b90b45f864f3cfe72ed3094b09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { count } from "./state"; | |
</script> | |
<h2>{$count}</h2> | |
<button on:click={() => $count += 1}>Inc</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment