shadow-cljs

https://github.com/thheller/shadow-cljs | https://github.com/sponsors/thheller | https://www.patreon.com/thheller
thheller 2020-12-28T00:05:06.164100Z

*ns* is not a thing in CLJS. you can see the ns in the bottom right corner

thheller 2020-12-28T00:05:17.164300Z

or a quick trick is ::foo or so

Mr. Savy 2020-12-28T00:15:14.164500Z

I saw the bottom right, but I thought *ns* worked in both versions. I must be losing my mind. Sorry for the trouble and thank you!

thheller 2020-12-28T00:51:35.164700Z

it works in macros but not in the REPL

👍 1
Björn Ebbinghaus 2020-12-28T13:57:53.166400Z

Is there a way to print a dependency graph with shadow-cljs? I see namespaces in the build report and I don’t now where they are coming from.

thheller 2020-12-28T13:59:33.167Z

you mean where it is required? no thats currently displayed

Björn Ebbinghaus 2020-12-28T14:03:37.169800Z

There are dependencies in the build report I didn’t expect there. cljs.pprint is in the report, but I don’t use it in my project. Also pathom which is only used in my .clj files. I am asking myself if maybe fulcro (or another dependency) is pulling them in.

thheller 2020-12-28T14:10:57.170200Z

fulcro had a require for that some time ago

thheller 2020-12-28T14:11:03.170500Z

don't know if newer versions still do

thheller 2020-12-28T14:13:16.171800Z

the info is all available just need to put it into the report somehow 😛

2020-12-28T20:39:45.172800Z

hi, found this https://clojureverse.org/t/using-storybook-with-cljs/1495

2020-12-28T20:40:01.173300Z

but cant find the example source code mentioned there

2020-12-28T20:40:07.173500Z

any help? thanks

thheller 2020-12-28T23:06:56.173900Z

that post is severly outdated and won't work with the current storybook at all

thheller 2020-12-28T23:07:15.174300Z

storybook completely changed everything basically