squint

m3tti 2025-05-08T21:49:53.824569Z

regarding my idea last time. i have now something working which might be useful for someone. Its a quite small and simple "framework" to work easily with snabbdom and state. The project supports effects and dispatches which can change the current state of your app. Take a look https://github.com/m3tti/snabb-clj

👀 1
m3tti 2025-05-08T22:08:27.148499Z

basically the library is the core.cljs 😄 thats all there really is

m3tti 2025-05-09T06:55:23.984659Z

oh and i made it even js compatible 😄 how can i share that in npm now 😄

zachcp 2025-05-08T22:28:08.754519Z

• Small project using squint here: https://zachcp.github.io/squint-molstar/ . • Observable Framework Project. Compiles/uses squint. Adds a Codemirror Instance and a Mol* Component. • Use cljs to make a "DSL" (sort of ?) to write MolViewSpec. • Builds on some of the earlier threads this week.

🤯 1
👀 1
🎉 2
borkdude 2025-05-09T07:37:10.771219Z

Looks very nice!

Stephan Renatus 2025-05-09T11:27:03.801029Z

Yay, I'm an Observable Framework fan, too. Thanks for sharing!

Stephan Renatus 2025-05-09T11:27:54.982109Z

I've been dreaming of a squint code tag... ✨ https://github.com/observablehq/framework/issues/967

zachcp 2025-05-09T12:59:59.060949Z

Thanks. @stephan.renatus I upvoted as well - getting squint to be auto-recognized/compiled within Observable would be great.