Comment

Comment by alephnan

This is the same code in Svelte.js

# Counter.svelte

<script> let count= 0

  setInterval(() => {

    count += 1

  }, 1000)
</script>

<div>The count is: {count}</div>

parent alephnan 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton