Fork me on GitHub
#fulcro
<
2021-12-09
>
rtacconi22:12:08

Hi, (newbie here) I am at section 4.4.7 of the book (https://book.fulcrologic.com/#_using_the_repl) and I cannot start the repl with atom/clorine. I run connect to repl which works, but then I do connect embedded to access shadow-cljs but it says that I am disconnected.

REPL not connected for ClojureScript.
You can connect a REPL using 'Connect Socket REPL' command, or 'Connect Embedded' command

sheluchin23:12:50

I'm not entirely sure this is your issue, but make sure you have the running application open in a browser window before connecting the REPL. > (and you must already have that application running in a browser)

rtacconi09:12:04

good point, I am running the frontend with npx shadow-cljs server

Jakub Holý (HolyJak)17:12:17

And in the server UI, did you start the build? Btw this is more #Chlorine and #shadow-cljs question than fulcro

ianjones22:12:46

is there anywhere I can look for getting clojure-lsp/cider to resolve fulcro macros?

sheluchin23:12:23

The most common ones should already be defined. clojure-lsp uses clj-kondo under the hood, and recent Fulcro has a config already in place. See https://github.com/fulcrologic/fulcro/blob/develop/src/clj-kondo/clj-kondo.exports/com.fulcrologic/fulcro/config.edn

Jakub Holý (HolyJak)17:12:14

Yes use Clj-kondo's copy-config and edit its config.edn to use them

ianjones17:12:07

thanks for the links. Been getting those annoying squiggly lines on the component macros