Fork me on GitHub
#shadow-cljs
<
2019-10-22
>
Nolan01:10:11

https://code.thheller.com/blog/shadow-cljs/2019/03/03/code-splitting-clojurescript.html this is an awesome, excellent blog post. much appreciated @thheller πŸ™

πŸ‘ 4
gibb06:10:18

I’d like to start with a simple shadow-cljs and reagent project to try out some things. Ideally it would support live reload and not have any additional libs like routing and such. Any recommendations for lein templates perhaps?

Filipe Silva16:10:20

it's targetted for people familiar with the npm ecosystem, so if that's you I hope it will make sense

gibb18:10:31

Thanks @UJVKWJTGE that looks great as well!

mikethompson10:10:49

@gbson there is re-frame-template (but it does have re-frame also) https://github.com/day8/re-frame-template

gibb07:10:54

Thanks! I ended up using that one and stripping re-frame.

Schpaa12:10:13

Anyone knows how to integrate appliedscience/js_interop into a clojurescript project? https://github.com/appliedsciencestudio/js-interop

mhuebert14:10:54

@Schpa - just curious, was there some other method of install that you were expecting?

Schpaa12:10:33

I just teared it apart and manually installed everything, but I was really stumped here…

thheller12:10:21

@schpaencoder there is no npm install a-thing for clj(s), so we always add :dependencies manually

Schpaa12:10:05

@thheller yeah, thats what I finally did

πŸ‘ 4
Schpaa12:10:49

@thheller anyway, thanks for responding

roklenarcic13:10:34

I am running into a problem because I use Java 12 that shadow-cljs run dies with the error:

shadow-cljs - starting ...
Exception in thread "main" java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(cljs/util.cljc:1:1)

thheller13:10:24

I'm on JDK13 btw, so I'm pretty confident all this works

thheller13:10:53

that isn't because of shadow-cljs

thheller13:10:11

that is because you have a bad dependency. looks like an old CLJS version maybe?

thheller13:10:42

do you use lein/deps.edn?

roklenarcic13:10:13

lein is used but I ran this with yarn

thheller13:10:54

you run yarn. that runs the shadow-cljs npm script. that runs lein when you use :lein true or so

thheller13:10:14

so just shadow-cljs.edn?

thheller13:10:54

which shadow-cljs version?

roklenarcic13:10:07

version: 2.1.6

thheller13:10:18

yeah, that needs an upgrade then πŸ™‚

thheller13:10:27

2.8.66 is the latesst

roklenarcic13:10:50

it's weird because in package.json I see "shadow-cljs": "2.8.58"

thheller13:10:40

whats in your shadow-cljs.edn?

thheller13:10:57

or which package.json file? the only in the project itself?

roklenarcic13:10:08

the one in the project itself

thheller13:10:25

check the node_modules/shadow-cljs/package.json, maybe that is outdated?

thheller21:10:51

can't wait to show everyone the feature I just merged πŸ™‚ haven't been this excited about a feature in a long time πŸ™‚

thheller21:10:10

and its only like 5% done but still cool πŸ™‚

πŸ‘ 44
❀️ 60
sogaiu21:10:18

sounds revolutionary πŸ™‚

isak22:10:16

I just read the doc. Cool!