This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-20
Channels
- # aleph (15)
- # announcements (12)
- # aws-lambda (1)
- # babashka (54)
- # beginners (35)
- # calva (2)
- # cider (31)
- # clerk (13)
- # clj-kondo (65)
- # clj-on-windows (14)
- # cljsrn (7)
- # clojure (57)
- # clojure-art (1)
- # clojure-dev (1)
- # clojure-europe (19)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (1)
- # clojurescript (9)
- # community-development (25)
- # cursive (2)
- # data-science (3)
- # emacs (19)
- # events (1)
- # fulcro (21)
- # humbleui (1)
- # hyperfiddle (15)
- # jobs (8)
- # london-clojurians (2)
- # malli (18)
- # off-topic (1)
- # portal (6)
- # reagent (3)
- # releases (3)
- # sci (1)
- # shadow-cljs (73)
- # spacemacs (4)
- # sql (9)
As I settled on dev-containers for polyglot Clojure programming for data science, I published here:
https://github.com/behrica/clojure-datascience-devcontainer
a minimal setup which gives you a devcontainer
having Clojure+python+R preinstalled. Devcontainer works now with and without vscode, thanks to https://github.com/devcontainers/cli
Announcing https://github.com/cjohansen/portfolio, a “visual REPL” for UI component development. It stands on the shoulders of devcards, and borrows heavily from Storybook.JS: Render UI components (or layouts) in isolation, quickly review components with varying input data, different resolutions, dark mode, etc. It comes with support for Reagent, Rum, Helix/Pure React, Dumdom, and even DOM objects or raw HTML strings out of the box, and adding support for other rendering technologies is little work (as illustrated by https://github.com/cjohansen/portfolio/pull/2) Check out https://github.com/cjohansen/portfolio#readme for instructions on getting going and https://cjohansen.github.io/. The tool is usable but still in active development, and I’d love input, suggestions and help from anyone who wants a strong native ClojureScript alternative to Storybook.
I just wanted to test Portfolio with Helix, but as I tried to require portfolio.ui
, I got a build failure back: The required namespace "snabbdom" is not available, it was required by "dumdom/core.cljs".
.
Do I need to add another dependency besides portfolio or is this a problem with my deps resolution? I am using shadow-cljs.edn
for dependencies and added [no.cjohansen/portfolio "2023.03.21"]
, maybe I can try deps.edn
.
Thanks for reporting! I have very limited experience with shadow, but this looks like a bug. I'll have a look at it. I've only used portfolio with figwheel-main.
@U032GJ90EMA could you try the following: https://github.com/cjohansen/portfolio/issues/4 This seems to have resolved the above error for me but now I am stuck debugging some new ones just want to see if everything just works for you.
I have just now tried setting up a shadow project to test this myself, and ran into some problems. Looking into it 🙂
AFAIK shadow-cljs.edn
is unable to process SHAs in :dependencies
, so I had to use deps.edn
for dependencies and link it to shadow via an alias. However, the latest SHA 6beb9521ef5b0f5a631fe6979530f99915730c51
seems to resolve the build failure for me, but I haven’t tested if the actual library works.
Fixed in 2023.03.28, make sure you read this: https://github.com/cjohansen/portfolio#shadow-cljs
Nice, now I was able to test it and it works great! May try it on my app project when I am making more progress.
Whoa very cool, this is exciting!