Initial proof of concept

This commit is contained in:
Jakub 2026-07-07 21:47:41 +08:00
parent b80602e230
commit 85e9e1f5f1
8 changed files with 101 additions and 0 deletions

15
app.scm Normal file
View file

@ -0,0 +1,15 @@
(define root document.body)
(define click-count 0)
(m.mount
root
`&(:view
,(lambda ()
(m "main"
(vector
(m "h1" "LIPS! PWA!")
(m "button"
`&(:onclick
,(lambda () (set! click-count (+ click-count 1))))
(format "~a clicks" click-count)))))))