This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-13
Channels
- # announcements (9)
- # babashka (18)
- # beginners (10)
- # biff (3)
- # calva (5)
- # cherry (7)
- # cljsrn (2)
- # clojure (2)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-doc (3)
- # clojure-europe (10)
- # clojure-filipino (1)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (4)
- # clojure-my (1)
- # clojure-sg (1)
- # clojure-taiwan (1)
- # conjure (1)
- # core-async (5)
- # graalvm (10)
- # introduce-yourself (1)
- # missionary (1)
- # re-frame (3)
- # releases (2)
- # vim (22)
@borkdude where is Cherry at with compiling other CLJS libraries? It works like a charm for writing a simple stuff (and I have to say I'm really fond of it, it was totally needed and I appreciate how light it is.
Has it been tested with other libraries yet? Just out of curiosity, say I want to add https://github.com/binaryage/cljs-devtools/blob/master/docs/installation.md for development, will it work?
And how would one include a CLJS lib anyway, given that we run it via npx
?
Is Cherry meant primarily for use with JS libs?
Yeah I thought so. No problem.
It'd be great. Cherry's got a lot of potential.
@borkdude so after trying to write web components in CLJS, I eventually gave up on that and decided I'd: • Write Web Components in pure JS. UI only. • Would write anything that's not UI in CLJS/Cherry and communicate with Web Components via web workers. Here's an example: • Component: https://github.com/BizMentorAI/nace-lookup/blob/master/public/components/nace-lookup/nace-lookup.js • Worker: https://github.com/BizMentorAI/nace-lookup/blob/master/src/workers/autocomplete/autocomplete.cljs I don't want to use the one big bundle approach that most are using or at least encouraging (Shadow, Webpack etc), I prefer light components and loading them as user needs them. For that Cherry is perfect, it's fast and I have a babashka watcher to compile the code https://github.com/BizMentorAI/nace-lookup/blob/master/watch.clj I'm extremely happy with it so far (I barely started, but it looks very promising as of yet).