This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (4)
- # beginners (80)
- # boot (4)
- # cbus (2)
- # cider (62)
- # clara (18)
- # cljs-dev (8)
- # cljsrn (10)
- # clojure (139)
- # clojure-brasil (3)
- # clojure-dev (27)
- # clojure-italy (1)
- # clojure-russia (3)
- # clojure-spec (4)
- # clojure-uk (47)
- # clojurescript (102)
- # core-async (10)
- # cursive (7)
- # datomic (71)
- # emacs (32)
- # fulcro (99)
- # funcool (1)
- # hoplon (3)
- # jobs (1)
- # jobs-discuss (6)
- # jobs_rus (2)
- # leiningen (3)
- # luminus (2)
- # lumo (14)
- # mount (7)
- # off-topic (19)
- # re-frame (25)
- # ring-swagger (4)
- # rum (3)
- # shadow-cljs (142)
- # specter (2)
- # sql (16)
- # timbre (1)
- # vim (3)
@levitanong see Dynamic queries. It allows you to have more than one instance of a given class that has a query from other instances of the same class.
Fulcro's dynamic query system allows changing the query at runtime. It defaults to class-wide, but qualifier lets you target instances.
@tony.kay thanks! is there a special gotcha for dynamic queries on a union query? I’ve been playing around with it, and i’ve been getting some errors.
@tony.kay i added the fulcro router to my app and now i’m working on adding HTML5 URL routing, in the book i know you said > We do not provide direct support for this, since your application will need to make a number of decisions that really are local to the specific app
but do you think there should be something like the easy server that makes routing decision for you?
that's in the issues list already...the one about integrating route parsing with the routers
that would eliminate the "routing tree" as a separate construct, and would make it possible to mostly automate the route handling
thinking about splitting routing, bootstrap, and forms into a UI library again...these kinds of features probably belong in add-on libraries.
always torn on that...bootstrap was a mistake to integrate...it would just be better as its own thing
why split routing and forms? if someone doesn’t use them, don’t they essentially vanish?
that's the rub. part of it is just grokking everything that is there. and I'm wanting to simplify forms, so having it be a separate library and then make a new library that improves on it seems nice.
the down-side is separate maintenance, which was my motivation for combining them to begin with
we have several apps that talk to each other at AdStage and i sometimes wish we had just put them all in the same repo
hi @tony.kay, trying out your new shadow-cljs template. before, I would run it via cider, run
(go) and then
(start-figwheel), then visit
localhost:3000 where the webserver eventually serves the webapp. I’m aware that figwheel isn’t a shadow-cljs thing, so I’m at a loss at what to do after running
the same embedding would be possible with shadow-cljs but the recommended thing would be to run
shadow-cljs watch main independently
okay, great. ’cause i’ve been trying to run the shadow-cljs from lein, and since i’m on java 9, i’m getting a bunch of errors i shouldn’t be getting.
So i’ll try placing those options in the shadow-cljs.edn with the workarounds i’m using for java 9
Exception in thread "main" java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(cljs/util.cljc:1:1) at clojure.lang.Compiler.load(Compiler.java:7526) at clojure.lang.RT.loadResourceScript(RT.java:379) at clojure.lang.RT.loadResourceScript(RT.java:370) at clojure.lang.RT.load(RT.java:460) at clojure.lang.RT.load(RT.java:426)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
bumping to fulcro 2.1.2 and using the builtin router (instead of our legacy way of doing things) gave us a 2X speed improvement on route transitions!
@levitanong just checked. it is actually called
@thheller well that’s mad, my other project is on :jvm-opts. has there been an API change in leiningen? o_O
but I still can’t start properly on java9. no idea why java8 doesn’t get this error since its clojure not java
Wrong number of args (0) passed to: core/juxt