Fork me on GitHub
#cherry
<
2022-08-17
>
mauricio.szabo14:08:05

Speaking for me, @zimablue - I wanted to use solidjs in a project. They expect you to write JSX, and then convert this to Solid. ClojureScript (even self-hosted) currently have no way of writing JSX; it also have little support for importing "weird things" like CSS, Non-Javascript sources (used a lot in React-Native community), and it also does have problems importing optional dependencies from some packages. These all expect to be parsed by Babel or some other tool. Cherry, for me, have the potential to fill this "sweet spot" - I can keep writing ClojureScript, and it'll be transpiled to modern JS, and then Babel will take over and do the rest.

lilactown14:08:37

FWIW you can use solid without JSX, it's just more DIY

lilactown14:08:47

there's some chatter in #solid about it

zimablue15:08:47

Do you mean possible to use without?

lilactown15:08:27

haven't drank my coffee yet

mauricio.szabo03:08:18

Yes, but performance drops considerably

lilactown13:08:15

why is that?

mauricio.szabo05:08:26

Solid tries to compile the static parts of jsx into a performant JavaScript, it seems

mauricio.szabo05:08:15

I was trying to use it to have a faster rendering on my Clojure plugin, but the speed difference was not that great without using jsx