Fork me on GitHub
#chlorine-clover
<
2021-12-09
>
rtacconi22:12:52

I’ve just asked in the Fulcro channel but I guess it is more a chlorine issue, copying here too

mauricio.szabo22:12:25

Right, do you have the browser opened on the page that Fulcro is running? Also, if you want, enable "Experimental Features" on the Chlorine configuration, it makes Shadow-CLJS experience better IMHO

rtacconi09:12:04

I am running fulcro with npx shadow-cljs server . It’s only a shadow-cljs app at the moment. I have a client.cljs file with

(ns app.client
  (:require
   [com.fulcrologic.fulcro.application :as app]
   [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
   [com.fulcrologic.fulcro.dom :as dom]))

(defonce app (app/fulcro-app))

(defsc Root [this props]
  (dom/div "TODO"))

(defn ^:export init
  "Shadow-cljs sets this up to be our entry-point function. See shadow-cljs.edn `:init-fn` in the modules of the main build."
  []
  (app/mount! app Root "app")
  (js/console.log "Loaded"))

rtacconi09:12:27

I’ll activate the “Experimental Features”

rtacconi22:12:53

rtacconi  [10:07 PM] 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
 (edited)