Fork me on GitHub
#fulcro
<
2019-09-29
>
jaihindhreddy11:09:54

Does anyone use a socket REPL while developing Fulcro apps? Just wanna know how that works. Does CLJS support socket REPLs, if not, is it then running inside the clojure process of shadow-cljs. Feel free to ignore, or point me to any resources if I should have just RTFM'ed.

thheller11:09:32

socket repl is supported yes. most people use nrepl though

thheller11:09:51

:socket-repl {:port 12345} in shadow-cljs.edn

jaihindhreddy12:09:57

And does the socket REPL in the browser i.e is it a browser REPL?

jaihindhreddy12:09:14

I've been using Sean Corfield's Atom setup

jaihindhreddy12:09:39

And want to adapt the same for ClojureScript as well.

thheller12:09:55

not sure what that setup is but the REPL always starts out as CLJ

thheller12:09:26

but you can switch it to your build repl via (shadow/repl :the-build-id) or just (shadow/browser-repl) to get a browser REPL without a build

💯 2