This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (8)
- # babashka (19)
- # beginners (100)
- # boot (3)
- # calva (16)
- # cider (8)
- # cljdoc (6)
- # cljsrn (15)
- # clojure (73)
- # clojure-europe (7)
- # clojure-france (1)
- # clojure-italy (12)
- # clojure-nl (11)
- # clojure-sg (1)
- # clojure-uk (17)
- # clojurescript (63)
- # crux (3)
- # cursive (22)
- # data-science (2)
- # datomic (2)
- # defnpodcast (1)
- # docs (1)
- # fulcro (7)
- # graalvm (8)
- # jackdaw (1)
- # kaocha (11)
- # off-topic (26)
- # pedestal (4)
- # planck (1)
- # re-frame (35)
- # reitit (5)
- # ring (3)
- # shadow-cljs (25)
- # slack-help (11)
- # spacemacs (8)
- # specter (2)
- # tools-deps (61)
- # vscode (6)
I'd recommend getting
shadow-cljs setup to run on node https://shadow-cljs.github.io/docs/UsersGuide.html#target-node
Hey thanks for this. I hadn't heard of
shadow-cljs, and I'm definitely looking into it now
quick question, if I am trying to package my cljs library with some js files inside and I have the
foreign-libs on figwheel edn files … do I also need to create a
deps.cljs file with the same
foreign-libs content :thinking_face: ?
oh, I was hoping that there would be some kind of hook or so. Then I dont get why I see the js files inside the jar 😕
probably because they are on class path, so they are also packaged with everything else
mmmm it seems that this is not entirely correct. After creating a deps.cljs file with the duplicate info on it. The compiler started complaining about
I think it depends on how you are compiling the project.
deps.cljs is what ClojureScript compiler consumes, but Figwheel is a separate tooling, maybe Figwheel is reading both files, I dunno.
> but Figwheel is a separate tooling, maybe Figwheel is reading both files, I dunno. yeah I guess that this is what is happening since figwheel still work even with that info “missing” i.e. on the deps.cljs file
I haven't used this and have no experience with Material UI, but I saw this a while back, might be of interest to you: https://github.com/arttuka/reagent-material-ui
I feel like there should be a link pinned to the channel, this question pops up at least once every month
Submitting, then answering, the question on http://ask.clojure.org is probably very welcome, if anyone would like to do so.
hi everybody, i'm looking for a clojurescript resource for beginners to web development. does anything like that exist? i didn't find anything in the link in the topic. i really want to use lisp for webapp development 🙂 .
You can always checkout this front end specific guide https://betweentwoparens.com/start-a-clojurescript-app-from-scratch - The great thing about ClojureScript is that if you are familiar with front end development most things are 1:1. One of the initial hurdles is just starting a project. For examples of simple CLJS apps: https://github.com/tkjone/clojurescript-30
As for learning the language, the best resources are often actually Clojure resources because both languages are so close to one another.
And if your looking for information on Clojure Text Editors there is a post in the above blog and this video series. https://www.youtube.com/channel/UCfBUN43AQoyGiQxmCIDZe2w
Here's a video resource you might find helpful : https://www.jacekschae.com/learn-reagent-free
I've also a starter that should have a familiar structure if you come from a JS background
Very helpful, sure. My problem has been getting up and running with the language. Not incredibly accessible.
If you want to try Clojure(Script) in a local turnkey setting take a look at this: https://github.com/jsa-aerial/saite#uberjar
It is mostly intended as a turnkey system for data science types needing to explore datasets and create visualization documents, but I've been told by more than a few that it could be a great intro system for new users (of Clj(Cljs)), such as Clojure Bridge.
All you need is Java8 (9+ breaks the dynamic dependency resolver - can be fixed but for now low priority). Then just grab the jar and off you go.
You can write code that you can then run in Clojure (server), ClojureScript (client) or even mix them together.
why not starting with this book? https://pragprog.com/book/dswdcloj3/web-development-with-clojure-third-edition
That book covers Clojure/JVM on a web server, I know. Does it cover ClojureScript development in a browser?
This creates a deps project, just uses Leiningen as a way to scaffold it, for reference.
If you have Leiningen installed already you can just follow the instructions and get going..