This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-23
Channels
- # aleph (9)
- # beginners (30)
- # boot (42)
- # carry (1)
- # cider (148)
- # clara (2)
- # cljsrn (13)
- # clojars (2)
- # clojure (90)
- # clojure-dev (1)
- # clojure-dusseldorf (2)
- # clojure-italy (7)
- # clojure-madison (1)
- # clojure-quebec (1)
- # clojure-russia (19)
- # clojure-sg (1)
- # clojure-spec (14)
- # clojure-uk (90)
- # clojurebridge (1)
- # clojurescript (70)
- # clr (7)
- # core-async (24)
- # cursive (26)
- # data-science (2)
- # datascript (3)
- # datomic (46)
- # devops (2)
- # emacs (6)
- # events (1)
- # figwheel (2)
- # hoplon (200)
- # klipse (2)
- # ldnclj (1)
- # lein-figwheel (4)
- # leiningen (3)
- # off-topic (44)
- # om (70)
- # other-languages (6)
- # pedestal (5)
- # protorepl (1)
- # re-frame (17)
- # reagent (14)
- # schema (2)
- # spacemacs (1)
- # specter (3)
- # test-check (38)
- # unrepl (38)
- # untangled (19)
- # yada (16)
As for the :http-xhrio
reg-event-fx
, can I use :on-success [:good-http-res somedata]
rather than :on-success [:good-http-res]
? If I can, how should I change the params of :good-http-res
reg-event-fx
? The params currently are [db [_ result]]
, should I use [db [_ data result]
?
Is there a simple way to register a global interceptor or do I need to do it with each handler ?
Hey, sorry I haven’t time to make it more complete, but what do you think about this attempt to fetch external data with re-frame? https://gist.github.com/piotr-yuxuan/f03dba032e53252d4cc9344ee2044152
@len you can define your own reg-event-__
that wraps around the re-frame one. that's what I did with my code base.
I've been holding this under my hat for a while, but re-frame has had a team sponsored by Rails Girls Summer of Code
They'll probably be working on the re-frame developer experience to make it even better
Anyone know of an animated accordion widget/component that plays with re-com?
No, but you might want to use react-flip-move if you build it. There's a link somewhere ...
Here's ana example of it being used http://upgradingdave.com/blog/posts/2016-12-17-permutation.html
@jsa-aerial ^^^ not a ready-made solution unfortunately, you'll have to roll your own,
But remember the various "tabs" components in re-com are about 15 lines of code
It isn't too hard, once you solve the animations issue (hence my link above)
@mikethompson Thanks for the info. I suppose others would find it useful/desirable if built. This isn't the sort of thing in my wheel house, but I will take a look at it...