This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-27
Channels
- # beginners (34)
- # boot (15)
- # cider (7)
- # cljs-dev (7)
- # cljsjs (2)
- # cljsrn (46)
- # clojure (130)
- # clojure-argentina (1)
- # clojure-colombia (2)
- # clojure-greece (1)
- # clojure-italy (53)
- # clojure-losangeles (1)
- # clojure-russia (15)
- # clojure-spec (8)
- # clojure-uk (100)
- # clojurescript (117)
- # core-matrix (1)
- # cursive (24)
- # datomic (41)
- # duct (1)
- # emacs (11)
- # fulcro (22)
- # graphql (4)
- # hoplon (3)
- # jobs (1)
- # lein-figwheel (3)
- # luminus (18)
- # lumo (52)
- # off-topic (57)
- # pedestal (2)
- # planck (12)
- # re-frame (22)
- # remote-jobs (1)
- # ring-swagger (6)
- # rum (7)
- # shadow-cljs (13)
- # yada (19)
@tony.kay No I haven't managed to fix it yet. I'll start working on getting the whole code uploaded to github. It works without it, but it bugs me because I don't understand why it doesn't work.
Hi here: looking at the development branch of Fulcro I get the impression that multiple remotes are supported now?
The last comments I found about this were stating that it was something still left to do, but I managed to find some tests in test/fulcro/client/application_spec.cljs that make me think otherwise
could someone confirm this? I implemented multi-network support in an ‘semi-old’ untangled version, and was planning to port it to fulcro
given that I found some hints indicating support for multi-networks I think I’ll can spend my time a bit better 🙂
@jwkoelewijn This is currently fully supported ^^ it is even added to the new defmutation macro. I don't use it myself though
like the implementation as well btw, using different send-queues
I used 1 queue and split the requests later, think I like this approach better
@mitchelkuijpers thanks for the info
@jwkoelewijn multiple remotes have been supported for a long time.
the defmutation
macros work with them, the load
functions all accept a :remote
parameter.
if you use the multimethod technique of mutation, you use the Om Next style (key by remote keyword)
I guess I’m just confirming what has already been said…should read more before typing 😉
With the help of @azeem it looks like Nashorn SSR is going to work. A little more to do, but we got a successful render from the compiled JS.
and that one instance can be re-used with updated props to do general renders. I don’t know yet if the same instance is thread-safe…need to read more (e.g. can multiple SSRs be processed in parallel by one Nashorn instance. I suspect no)
that’s a good point. according to this https://stackoverflow.com/questions/30140103/should-i-use-a-separate-scriptengine-and-compiledscript-instances-per-each-threa you can share the scriptengine instance but we may need to use separate bindings for each thread
i’m not sure if there’s a lot of global state mutations, if any, that happen inside react. but we may be able to get away with it