This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-01
Channels
- # announcements (19)
- # asami (4)
- # babashka (34)
- # beginners (137)
- # calva (22)
- # cider (4)
- # clj-kondo (25)
- # cljs-dev (4)
- # clojure (67)
- # clojure-australia (1)
- # clojure-berlin (1)
- # clojure-europe (35)
- # clojure-germany (3)
- # clojure-nl (5)
- # clojure-serbia (3)
- # clojure-uk (8)
- # clojuredesign-podcast (2)
- # clojurescript (11)
- # conjure (56)
- # data-oriented-programming (1)
- # datascript (1)
- # datomic (6)
- # deps-new (11)
- # eastwood (1)
- # fulcro (11)
- # honeysql (48)
- # inf-clojure (1)
- # jobs (1)
- # joker (6)
- # lsp (26)
- # malli (2)
- # meander (3)
- # off-topic (48)
- # pathom (4)
- # polylith (4)
- # re-frame (19)
- # releases (2)
- # remote-jobs (1)
- # rewrite-clj (127)
- # shadow-cljs (6)
- # spacemacs (3)
- # tools-deps (43)
- # xtdb (16)
@kiraemclean we forked re-frame as freerange to support devcards: https://github.com/nextjournal/freerange/blob/master/docs/architecture_decision_log.org#004-we-add-a-react-context-based-api-for-providing-the-current-frame
https://github.com/day8/re-frame/issues/137 is the relevant re-frame issue
Freerange is a few versions behind the latest Re-frame. Are there any plans to merge upstream changes from more recent versions of Re-frame?
fwiw, I would be happy to contribute to either helping keep Freerange in sync with the latest Re-frame, or figuring out how to get the changes in Freerange merged upstream. There has been an open issue on this for ~5 years, and it would seem that no conclusively better ideas have emerged in that time.
I came across this is my searches.. looks really interesting, thanks!
@U5H74UNSF Re-frame 1.2.0 has Reagent 1.0 as a dependency rather than 0.9.1, which makes working with React function components easier.
@UTJVA9JP8 ah yeah, was there any code changes related to that? Happy to bring them in. Currently I think https://github.com/nextjournal/freerange/issues/11 is blocking external consumers but I’ve been meaning to fix that anyway
No, just a deps bump. It's only an issue for me as I care about Reagent 1.0 vs 0.9.
Hi im building a re-frame app based on this template -> https://github.com/day8/re-frame-template
One of the things I want to do is use http params. so for example I would like to use https://my-cool-app.com/home#?data=foo and get access to "data=foo" in the function that renders the /home url. Any pointers to code that does this?
(ahh the url was supposed to be an example, not an actual place....)
No clue about the template, but I'm using kee-frame for URL routing. It doesn't do it itself, it's just a wrapper, but it's a convenient one, and it does a few other things.
BTW no need to use #
in URLs in modern browsers - then can handle URL query changes without dispatching any requests.
oh sweet. yeah the template uses bidi for routing.
Hi. I found some beautiful effects based on javascript. I started to implement them in pure clojurescript manipulating the dom objects. After some iterations, I started to rewrite all of them in reframe, listening to events. Now i have a doubt. In the db I have keys for domain data and some for ui. Maybe a bad separation of concern? How do you do ?