Fork me on GitHub
#cljsrn
<
2020-05-05
>
Tim09:05:21

Hello everyone 👋 I’m going through krell tutorial and wonder if those deps are accurate? Why do we need to use SHAs for deps? https://github.com/vouch-opensource/krell/wiki/Reagent-Tutorial#setting-up-clojurescript

dnolen13:05:35

it's accurate

dnolen13:05:53

because Krell currently follows ClojureScript master - this is not really a big deal

dnolen13:05:08

neither ClojureScript nor Clojure use semantic versioning in the traditional sense - most of the time there's not going to be meaningful difference between a SHA and a "release"

Tim17:05:23

Ok, thank you @dnolen!

Tim17:05:50

Oh, one more question: how can I connect emacs to krell?

dnolen17:05:11

inf-clojure / inf-cljs should work

dnolen17:05:26

cider nREPL should also work

dnolen17:05:34

but I don't have time right now to look into things I don't use

dnolen17:05:50

but Krell is just a plain old ClojureScript REPL

dnolen17:05:22

all existing tooling understands plain ClojureScript REPL so it should work

dnolen17:05:30

if doesn't work let me know and I can fix it

Tim17:05:26

Yeah, I’ve tried to connect to running krell REPL via cider-connect-cljs but the repl crashed. I’ll send exact exception later if you interested

dnolen17:05:43

sure paste the exception here

dnolen18:05:06

@kristoft.1329 I'm assuming you wrapped in Piggieback - if not you're missing a bunch of steps

adamtait23:05:53

Hey Everyone! I’m new to ClojureScript, ReactNative & Krell. I followed the tutorial (a couple of times) but can’t seem to get live reloading working. Whenever I make a change to my only source file (even before it’s saved in emacs), I get an exception in the iOS simulator (Error: No protocol method ISwap.-swap! defined for cljs.core/Atom: [Object object] from KrellRoot at renderApplication.js:45). After saving, the simulator exception goes away and I’m left with an empty view tree (confirmed in react devtools). The only fix I have been able to find is to re-run the krell dev build (clj -m krell.main -co build.edn -c -r -Srepro). What am I missing?