This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-17
Channels
- # adventofcode (76)
- # announcements (6)
- # beginners (103)
- # boot (28)
- # calva (128)
- # cider (48)
- # cljs-dev (40)
- # clojure (268)
- # clojure-austin (2)
- # clojure-dev (2)
- # clojure-europe (47)
- # clojure-italy (10)
- # clojure-nl (17)
- # clojure-spec (2)
- # clojure-uk (15)
- # clojurescript (45)
- # code-reviews (14)
- # cursive (5)
- # data-science (2)
- # datascript (1)
- # datomic (52)
- # duct (4)
- # emacs (2)
- # figwheel (1)
- # figwheel-main (4)
- # fulcro (13)
- # hyperfiddle (51)
- # leiningen (19)
- # nrepl (40)
- # off-topic (45)
- # pathom (3)
- # pedestal (28)
- # portkey (7)
- # re-frame (25)
- # reagent (76)
- # reitit (7)
- # shadow-cljs (92)
- # slack-help (3)
- # specter (5)
- # timbre (2)
- # tools-deps (39)
- # unrepl (1)
- # vim (13)
anyone know why this started popping up? could not find string alias for "socket.io-client" from app.client
weird - I restart some of my builds and it went away
Cross posting from the CLJS Slack channel: https://clojurians.slack.com/archives/C03S1L9DN/p1545065495662700
Thank you very much for writing that up.
@royalaid nice. why are you using the node.js JS REPL instead of a CLJS REPL though?
I plan on making a follow up post gluing together DynamoDB and a lambda and using the NodeJS view of the world to show how to two are connected
It feels like the best way for newcomers to experience the repl is just watching a dev use it, like the first time someone watches a person who knows vim jet around a file
I think it would be less confusing with a CLJS REPL but if showing the interop is your goal I guess thats fine
Had the same thought, just finished reading the blog post
Yeah still trying to find my feet with blogging so this feedback helps a ton, thank you!
shadow-cljs node-repl
(require '[server.create-table :as ct]) (ct/invoke)
might be cleaner
So, in chrome, i am able to set breakpoints in code when i go in Sources tab at js/compiled/out/cljs-runtime/[…] , but when i update the code and live reload it, this code is’nt being updated too
like, i think some implementations put a timestamp on these cljs files url everytime they are updated
not sure to be honest. never tried this. the timestamp is mostly used for cache busting, don't think it is used for debugging purposes
it is usefull in the sense that when you cache bust the code you can debug what you have just written without reloading the page again, hah
i put browser.cljs into the folder path /shadow/cljs/devtools/client but i think it was’t executed again, so i will try that
Can you see if this is right? i reloaded the server and i think it did not got this file
Hey there, I'm running into trouble getting transitive dependencies to install (in particular the js dependencies of a cljs dependency, macchiato). Anything I'm missing? For now I'm just installing them myself.
@jstaab since most cljs packages still rely on cljsjs and do not support npm they in turn don't properly declare their npm dependencies
Where would I find the package.json for the installed version of my immediate dependency so I can hack something together?
Macchiato has one: https://github.com/macchiato-framework/macchiato-core/blob/master/package.json
its a complicated situation thats not just solved by adding a package.json
or whatever
I mean, it doesn't solve my problem, but seems better than a package.json, which is what I'm currently doing