This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-27
Channels
- # bangalore-clj (1)
- # beginners (27)
- # boot (16)
- # cider (14)
- # cljs-dev (94)
- # cljsrn (8)
- # clojure (229)
- # clojure-dev (5)
- # clojure-dusseldorf (6)
- # clojure-italy (8)
- # clojure-norway (8)
- # clojure-russia (22)
- # clojure-sanfrancisco (2)
- # clojure-spec (48)
- # clojure-uk (44)
- # clojurescript (47)
- # core-async (87)
- # cursive (43)
- # datascript (22)
- # datomic (20)
- # defnpodcast (5)
- # emacs (6)
- # hoplon (4)
- # jobs-rus (4)
- # keechma (2)
- # klipse (8)
- # leiningen (2)
- # luminus (2)
- # lumo (14)
- # om (38)
- # onyx (4)
- # overtone (3)
- # pedestal (41)
- # planck (72)
- # powderkeg (42)
- # proton (46)
- # protorepl (9)
- # reagent (9)
- # ring (47)
- # ring-swagger (5)
- # rum (7)
- # sql (22)
- # unrepl (1)
- # untangled (24)
- # vim (19)
- # yada (5)
Hello folks, I want to use the UntangledApiHandler from the Untangled Server. I have read the source code about the untangled-system, but I don't understand the modules passed in to that function. Can anyone help me understand the code?
What's the purpose of the :ui/react-key
? Is it mostly to allow forcing a refresh of the entire UI?
How is that usually done? (merge! reconciler {:ui/react-key "some-key"})
?
@danielstockton Tony Kay explains it in his video series here (I linked the correct time in the video as well :)): https://youtu.be/vzIrgR9iXOw?t=9m27s
Oh, thanks!
fatihict: did you end up finding the answer to your question?
I wrote documentation here https://github.com/untangled-web/untangled-server/blob/develop/README.adoc#22-the-simple-way
Looks like part of the problem is that for untangled server the default branch is master
@U0CSAHDV0 Yes, I've managed to find the answer by digging through the source. I missed the documentation on the develop branch 😄, but that does clear things up. I am currently wrapping our existing system with the untangled-system. I defined two modules with ApiHandlers to parse incoming requests based on the environment. How are you folks using it?
essentially it provides a middleware fn that looks at the request url and decides whether it should serve up an image, or continue along
but it’s done as an ApiHandler so that the consumer of it decides where to place the image-library middleware
oh and it also provides read and mutate endpoints on top of that, which is determined by where it’s located in the :modules vector
this was essentially the library that sparked the need for better/simpler ways to control your middleware and install library reads and mutates
@eric.shao you may want double check if your browser cache is deactivated, I had lost some hours in the past trying to debug something that ended up being just caching...