Back to Marko Js

`` vs `` vs `static`

docs/explanation/let-vs-const.md

latest323 B
Original Source

<let> vs <const> vs static

[!TLDR]

  • <let>: mutable reactive state
  • <const>: derived value, pure, recomputes with dependencies
  • static const: module-level constant, initialized once, not reactive