Comment

Comment by benhurmarcel

What happens if you reassign a variable below? Like:

  a = 1
  println(a)
  a = 2
Does it show 1 or 2?

Edit: tested it, it throws an error "Multiple definitions for a: Combine all definitions into a single reactive cell using a `begin ... end` block."

Not sure I like that way of working.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton