This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-09
Channels
- # adventofcode (132)
- # announcements (19)
- # babashka (7)
- # babashka-sci-dev (6)
- # beginners (46)
- # calva (25)
- # chlorine-clover (5)
- # cider (2)
- # clara (17)
- # clj-kondo (93)
- # clojure (2)
- # clojure-dev (4)
- # clojure-europe (12)
- # clojure-losangeles (3)
- # clojure-nl (7)
- # clojure-uk (4)
- # clojurescript (29)
- # conjure (6)
- # core-async (8)
- # cursive (16)
- # data-science (7)
- # datomic (1)
- # exercism (4)
- # figwheel-main (8)
- # fulcro (9)
- # graphql (2)
- # helix (1)
- # introduce-yourself (3)
- # jobs (3)
- # lsp (4)
- # malli (20)
- # minecraft (3)
- # nextjournal (62)
- # off-topic (16)
- # overtone (34)
- # pathom (5)
- # polylith (10)
- # portal (1)
- # re-frame (104)
- # reagent (29)
- # reitit (1)
- # remote-jobs (2)
- # rum (3)
- # shadow-cljs (22)
- # spacemacs (2)
- # sql (10)
- # tools-deps (17)
- # vim (13)
I’ve just asked in the Fulcro channel but I guess it is more a chlorine issue, copying here too
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
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"))
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)