This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (11)
- # arachne (4)
- # beginners (7)
- # boot (21)
- # clojure (41)
- # clojure-greece (2)
- # clojure-japan (7)
- # clojure-poland (4)
- # clojure-russia (25)
- # clojure-sg (1)
- # clojure-uk (3)
- # clojurescript (23)
- # cursive (2)
- # datomic (2)
- # devcards (2)
- # euroclojure (6)
- # hoplon (101)
- # immutant (4)
- # leiningen (4)
- # mount (8)
- # off-topic (2)
- # om (34)
- # onyx (2)
- # planck (1)
- # re-frame (4)
- # reagent (16)
- # spacemacs (6)
- # untangled (19)
Just from conversation earlier about 'Autocomplete' with Untangled. The actual Autocomplete tutorial fetches from Wikipedia when 3 or more characters have been entered. So no need for debounce but more importantly the client is not interacting with an Untangled server, but some Wikipedia URL. So
load-data (which is now called
load-collection ??) can't be used - I don't think...
@cjmurphy: you can use a custom network handler if you want to something different from the default, it's not well document yet but if you look at the sources you can see their HTTP networking implementation, from that you can figure out how to implement your own
@cjmurphy: You can certainly use whatever additional networking you want, and use
om/merge! on the reconciler to push it in. We have not needed multiple remotes yet, but I'm wanting to add it...it is needed. Also, might make sense to add something that assists with things that are more REST-y in general for this kind of use-case. Any ideas are welcome...we don't have the specific use-case yet, but want to fully support what is generally needed.
And correct: we did have
load-singleton (alias) and unified those into the single name
BTW: Talk from last nights Clj West Unsession is up on YouTube (processing, but link is): https://www.youtube.com/watch?v=sLKyVr8atyI&feature=youtu.be
I'll be mixing in the live action video in a few days...right now it is just audio/slides. They don't record the Unsessions, so I had to manage it myself (the downsides of open-sourcing after talk submission deadlines :) ).
@tony.kay: I'm thinking about the
:shared issue here, I really need to add shared objects on my UI, I was thinking about what would be the best way to add this option
I think the point to add would be when creating the client, but I think it's a long chain to be adding parameters to all functions in the middle in order to reach the reconciler construction
actually, sorry, looking again it seems like it could be added to the application info, and then used when creating the reconciler
I’ve got a UI that renders a list of items and a form + mutation for creating a new item (and appending it to the end of the list). If I define the mutation callback in the root component and pass it down to the form then it works perfectly. However if I define the mutation lower in the ui-component tree the UI gets all messed up when the mutation is triggered.
Maybe that’s why this demo app has all the mutations in the root? https://github.com/Jannis/om-next-kanban-demo/blob/master/src%2Fkanban%2Fapp.cljs#L27
@currentoor: If the mutation is adding onto the end of the displayed list then it really is affecting the whole list, and so needs to be done on the component that contains the whole list (thus the function is passed down). Only a mutation that say just say just toggles a check-box could be on the item component.