Fork me on GitHub
#clojurescript
<
2022-09-19
>
manas_marthi12:09:02

Anyone created svelteJS wrapper in cljs world?

manas_marthi17:09:51

If you see this reply, you are doomed to be disappointed

thheller18:09:52

svelte is compiler based so it does all its work by compiling specifically written JS/html hybrids

1
thheller18:09:12

it does not understand clojurescript code and therefore makes no sense to use and impossible to wrap

1
lilactown18:09:51

What's the easiest way to embed an interactive clojurescript snippet in my blog?

lilactown18:09:34

Thinking about scittle, but haven't looked into how easy it is to use with cljs libs

lilactown18:09:54

Clerk maybe is also an option? But I can't tell if I would have to write the whole blog in clerk

lilactown18:09:17

I'm going breadth first in my search right now. Experience reports are appreciated

rolt18:09:34

there's klipse too but I don't think it supports adding dependencies

👍 1
thheller18:09:49

if it really has to be interactive you can either go with sci or full self-hosted (eg https://code.thheller.com/blog/shadow-cljs/2017/10/14/bootstrap-support.html)