My #ClojureScript #ShadowCLJS is not hotloading, although its codebase is just a copy of another that worked beatifully, and that a copy of another that never had troubles, either. I've looked over every difference I can find and see nothing. The WATCHER is working fine; when I make a code change, I see a spinner. But updates don't actually appear. React Devtools also show that nothing is connected. But manual hitting "refresh" works, though it feels like I'm back in the stone ages...
I always mentally wonder about #TypeScript vs #ClojureScript, knowing that #Clojure's decision to avoid #types is very deliberate. But TypeScript is conquering the world; is that an ad populum sign that Types are really a better way to go? Or does ClojureScript offer other things instead? If so, what are they, and to do the benefits of each option find value in different situations?
The language #Clojure and #ClojureScript languages are so stable, with breaking changes being frowned upon in the culture. But breaking in the (frankly, awesome!) tooling has been my difficulty as I maintain a dozen projects of varying ages. It is a real problem. #cider #nrepl #figwheel #piggyback
Wait... do you seriously mean to tell me that I've spent hours debugging #clojure the fact that `#js` is NOT recursive? So #javascript #clojurescript `#js {"authorizationParams" #js {"redirect_uri" (-> js/window .-location .-origin)}}` is NOT #js {"authorizationParams"v {"redirect_uri" (-> js/window .-location .-origin)}}`? I probably read this somewhere, but UGH!
And yes, I know that even fixed this equality wouldn't work because JS always breaks #CLJS equality... but the point is clear.
I made a #static site using #ShadowCLJS #ClojureScript . The last step was to remove the #CLJS. But I still use Shadow to start up a local server and explore my static site in-browser. It works nicely as a quick server. #clojure
The data coming through the pipeline on one view was missing a crucial piece. It was sweet to be able to add it to the back-end function that is gathering the data, evaluate the form, and boom! It was there for my front-end view as soon as I used my usual endpoint. #Clojure #ClojureScript #FullStack #repl
RT @borkdude
#ClojureScript Reimagined at @ClojureDays
Slides:
https://speakerdeck.com/borkdude/clojurescript-reimagined-dutch-clojure-days-2022
(PDF: https://www.dropbox.com/s/955jgzy6hgpx67r/dcd2022-cljs-reimagined.pdf?dl=0)
Links:
https://github.com/babashka/sci
https://github.com/babashka/nbb
https://babashka.org/scittle
https://github.com/BetterThanTomorrow/joyride
https://github.com/squint-cljs/cherry
https://github.com/squint-cljs/squint
#clojure #dcd22 https://twitter.com/jmglov/status/1586380914757894144
RT @clojurejobboard
.@ladder is looking for: Software Engineer #RemoteWork 🇺🇸 https://ClojureJobboard.com/clojure-job/gt-remote-software-engineer-ladder-remotework.html #clojure #remote #clojurescript
#ClojureScript #ShadowCLJS One of my projects for the past year has been converting an old PDF multimedia app into a static web site. Since #Clojure is better than raw HTML or CSS, I crafted it there before grabbing the output static stuff. It is 99% JS-free, except for optional media lightboxes, and is built to last as long as HTML does, and to run as simply as possible. #ClojureScript #ShadowCLJS
RT @borkdude
I have a lot of respect for what #clojurescript has become over the years. Thanks @dnolen, @mfikes and many others.
RT @janetacarr
Does anyone have any questions about #clojure or #clojurescript ? (Could also be general development stuff too)
Let me know if I can help 👇🏻
RT @clojurejobboard
.@swingedu is hiring: Senior #Clojure Engineer #RemoteWork 🇺🇸 https://ClojureJobboard.com/clojure-job/es-remote-senior-clojure-engineer-swing-education-remotework.html #remote #clojurescript #aws
RT @clojurejobboard
ThorTech Solutions is searching for: Senior #Clojure Engineer - US #Remote #RemoteWork 🇺🇸 https://ClojureJobboard.com/remote-clojure-job/bu-remote-senior-clojure-engineer-us-remote-thortech-solutions-remotejob.html #workfromhome #clojurescript #remotejob
RT @pjstadig
Today is my first day at https://sovasage.com/ and I'm looking for some good #clojure and #clojurescript developers! I'd love to hear from you. :)
Hmm. I have a lot of respect for theller's work, but isn't shadowcss https://github.com/thheller/shadow-css just reinventing the wheel? I love using gardencss for #clojure #clojurescript #CSS gen, and it works great cljc. https://github.com/noprompt/garden
Last night I was too tired to clarify, but here is the project #ClojureScript #transcription #portuguese
Benefits to using your full programming language for your #css: I wrote code that determines whether my domain is subdomain or subpath and rewrites my resource paths accordingly, shared with both resource calls (like <img>) and css url functions (like `background: url(SOMEPATH)`). #gardencss #reitit #clojurescript
RT @JacekSchae
If you ever wanted to build #ClojureScript "native" apps without #ReactJS or any other #VDOM here is a thing you might want to take a look at -- https://github.com/thheller/shadow-grove -- build by @thheller (creator of shadow-cljs)
Great answers here
---
RT @fndriven
I still don't understand how to properly use JS promises in #Clojurescript. 🤷
https://twitter.com/fndriven/status/1539582431744909312
Honestly this is a big one of the reasons I choose #ClojureScript/#Clojure: maximum capability while maintaining a culture of low-turbulence, high stability, low junk
---
RT @iamaponte
Any Frontend developer who's been in tech for the last decade is like...
https://twitter.com/iamaponte/status/1534857190921490432
Full Stack Clojure web app engineer