This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-27
Channels
- # bangalore-clj (1)
- # beginners (50)
- # boot (23)
- # cider (19)
- # clara (28)
- # cljsrn (4)
- # clojure (93)
- # clojure-greece (67)
- # clojure-spec (14)
- # clojure-uk (11)
- # clojurebridge (1)
- # clojurescript (151)
- # community-development (1)
- # core-async (19)
- # core-matrix (1)
- # cursive (3)
- # emacs (1)
- # klipse (5)
- # leiningen (5)
- # luminus (3)
- # lumo (22)
- # nyc (1)
- # off-topic (17)
- # om (12)
- # onyx (16)
- # pedestal (5)
- # re-frame (20)
- # reagent (5)
- # spacemacs (10)
- # uncomplicate (2)
- # unrepl (11)
- # untangled (8)
- # vim (1)
is there a builtin effect for changing the current panel? I want to return something like {:db db :route "/home"}
as my effect map and have it update my active panel in the db but also set the location in the address bar of the browser.
in my last re-frame app, I have an effect that does history.pushState and a event handler for url changes that updates the app-db
I’m using secretary for routing, I was surprised that sec/dispatch!
doesn’t update the address bar
Is there a better place for builtin effect docs than https://github.com/Day8/re-frame/blob/develop/docs/Effects.md
just seemed incomplete, the http example was a little misleading, I thought it was a builtin effect
lumpy: I think it's pretty complete. Hmm, I can't seem to find an example with http on that page?
right, the http example is here, https://github.com/Day8/re-frame/blob/master/docs/EffectfulHandlers.md
just a little confusing to show a builtin handler that exists(dispatch), in the same example with one that doesn’t
your implementation isn't wrong! https://github.com/Day8/re-frame-http-fx/blob/master/src/day8/re_frame/http_fx.cljs
@U2J4FRT2T I'm interested, could you share the link around here when the blogpost is ready ? 🙂
I don't know if any of you have been following the discussions / clojure subreddit lately, but it's become apparent that lowering the barrier to entry to clj(s) is something that is still being asked for. A blog post that is gaining traction from a beginner yesterday touted that CLJS could use something as easy as a create-react-app
. I'm going to start on a create-reframe-app
and am wondering if anyone is interested in helping / has any thoughts on the matter
samueldev: this kind of exists https://github.com/Day8/re-frame-template
(The idea being that getting set up with the JDK, then subsequently leiningen, then subsequently [library/framework of choice] (in our case; lein new re-frame ....
) is enough hoops that it deters people - compared to a simple CLI tool being the only thing people need to install in the case of a one-off like create-reframe-app
)